<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Create marker automatically from a Json]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1966&amp;type=atom" />
	<updated>2022-05-20T17:32:40Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1966</id>
		<entry>
			<title type="html"><![CDATA[Re: Create marker automatically from a Json]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8311#p8311" />
			<content type="html"><![CDATA[<p>Yes, use the OnClick event to play your sound.<br />If the sound should be shared by all markers, you can specify it as a public field.<br />If the sound needs to be unique for each marker, you can store a reference to it in customData.<br /><a href="https://infinity-code.com/atlas/online-maps/pages/MarkerCustomDataExample.html">https://infinity-code.com/atlas/online- … ample.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-05-20T17:32:40Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8311#p8311</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Create marker automatically from a Json]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8310#p8310" />
			<content type="html"><![CDATA[<p>Ok, thanks for the super fast reply. </p><p>We&#039;ll try to follow the examples and to structure a JSON in the best way possible to get all the data we need.</p><p>Without opening another thread i ask you something else. <br />Can we link an audio file to the marker so when people interact with it the audio start?</p>]]></content>
			<author>
				<name><![CDATA[momi995]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-05-20T14:26:11Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8310#p8310</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Create marker automatically from a Json]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8309#p8309" />
			<content type="html"><![CDATA[<p>Hello.</p><p>You need to read JSON, iterate over its elements, and create markers based on its data.<br />There are links to API and examples in the post you mentioned.<br />There can be no one-size-fits-all because JSON is just text, and your JSON may have a different structure than the other person&#039;s JSON.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-05-20T14:20:15Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8309#p8309</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Create marker automatically from a Json]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8308#p8308" />
			<content type="html"><![CDATA[<p>Hi! <br />I&#039;m creating a project with a friend, but we are not so much expert and we can&#039;t figure out how to automatize the creation of markers and how to let them update when we update the json.</p><p>we saw this post already <a href="https://forum.infinity-code.com/viewtopic.php?id=1454">https://forum.infinity-code.com/viewtopic.php?id=1454</a> but we didn&#039;t understand much on how to do it.</p><p>For us is important to create marker automatically because we&#039;ll have to put a lot of them (1000+) and it can&#039;t done by hand.</p><p>Do you have any solution to this? it doesn&#039;t have to be trought a json but anything similar can work.</p><p>Thaks in advance to whoever will help us</p>]]></content>
			<author>
				<name><![CDATA[momi995]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2037</uri>
			</author>
			<updated>2022-05-20T14:13:00Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8308#p8308</id>
		</entry>
</feed>
