Questions tagged [geoxml3]

geoxml3 is a third party KML parser for the Google Maps API v3 that parses KML files and renders them as native Google Maps API v3 objects.

Geoxml3 is a third party KML parser for the Google Maps API v3 that parses KML files in the browser and renders them as native Google Maps API v3 objects. There is also a branch that supports KMZ files (zipped KML files).

104 questions
1
vote
1 answer

parseKmlString fails with Cannot read property 'x'

I'm trying to parse a KML file passes as a string, and load it on to a google map. It works fine when I grab some KML from the geoxml site example see "kmlString1" but fails when I try to use my own extracted value, though I cant seem to see the…
JWiley
  • 3,129
  • 8
  • 41
  • 66
1
vote
1 answer

How to change color polygon(kml+geoXml)?

I show KML map on my site with help geoXml3. There are polygons and markers. But when I want to do something with polygons on click him, nothing happens. I want to change color pressed polygon and change color siblings polygons. Can help me? It is…
dark19
  • 129
  • 6
1
vote
1 answer

Google Maps Polygon with Placemarks from .kml files (using geoxml3 & kmllayer)

I am trying to incorporate Polygon layer and Placemarks layers into the same map. However, after loading a Polygon layer from a .kml file using the geoxml3 parser. I tried to load a few Placemarks layers and it was a success, however the Placemarks…
Jeffrey
  • 139
  • 1
  • 1
  • 10
1
vote
1 answer

How to getPaths() with geoXML3

I had more than 600 kml files to load in a single google map. Initially I tried with KmlLayer(), but it didn't work due to the amount of kml files, so I found GeoXML3, and it works really fine. Now I need to retrieve the path's coords for every…
1
vote
1 answer

geoxml3: Syntax for markerOptions{shape}

I want to limit the clickable area of all the icons from a KML file, and I'm a little stumped about how to make that happen. The icons are all the same typical-style pointer, and I'd like to limit the clickable area to the circle encompassed by the…
1
vote
1 answer

Error on GeoXml3 to parse KML or XML from ASP file

I'm loading a map with geoxml3. if I use a kml file or a xml string, It works fine KML Version (OK) geoXml_1.parse('kmlFile.kml'); if (geoXml_1.docs[0].gpolygons.length>0){ //NO ERROR IN geoXml_1.docs[0] [.....] }else{ [.....] } XML…
Andynedine
  • 441
  • 5
  • 20
1
vote
1 answer

What is the difference between geoXml library and KML Layer for rendering KML files?

I have been rendering KML files in the google maps by the geoXML library by the following way. var geoXml = new geoXML3.parser({ map : map, singleInfoWindow : true }); geoXml.parse('http://DomainName/GeoSystem/redrawKML'); I came to know by…
ArunRaj
  • 1,780
  • 2
  • 26
  • 48
1
vote
1 answer

How to use infobubble with geoxml3

I am currently using the excellent geoxml3 to parse local xml and kml files. I wanted to try and make the infowindows more attractive (and also add tabs) and so I am trying to use the infobubble script. An example of what it looks like can be found…
1
vote
1 answer

Loading KML file on Google map using Geoxml3

My HTML is as under Google Maps JavaScript API v3 Example: Directions…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/google-maps" class="post-tag grid--cell" title="show questions tagged 'google-maps'" rel="tag">google-maps</a> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 28 '14 at 13:29">asked Feb 28 '14 at 13:29</time> <a href="../../users/2837961/user2837961" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2837961.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user2837961" /> </a> <div class="s-user-card--info"> <a href="../../users/2837961/user2837961" class="s-user-card--link">user2837961</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1,505</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="27 silver badges">27</li> <li class="s-award-bling s-award-bling__bronze" title="67 bronze badges">67</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-21584443"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/21584443/geoxml3-unable-to-retrieve-kml-file" class="question-hyperlink">GeoXML3 unable to retrieve KML file</a></h3> <div class="excerpt">For some reason I can not get geoxml3 to load my KML file. I've tried using a publicly available URL for the file, and a local reference to the file in Chrome, Safari and Firefox all with no effect. When I use Chrome, I get a console message that…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/google-maps-api-3" class="post-tag grid--cell" title="show questions tagged 'google-maps-api-3'" rel="tag">google-maps-api-3</a> <a href="../../questions/tagged/kml" class="post-tag grid--cell" title="show questions tagged 'kml'" rel="tag">kml</a> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Feb 05 '14 at 17:38">asked Feb 05 '14 at 17:38</time> <a href="../../users/1041074/adbo" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1041074.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="adbo" /> </a> <div class="s-user-card--info"> <a href="../../users/1041074/adbo" class="s-user-card--link">adbo</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">133</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="1 silver badge">1</li> <li class="s-award-bling s-award-bling__bronze" title="10 bronze badge">10</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-20347148"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/20347148/programmatically-close-hide-delete-google-maps-tooltips" class="question-hyperlink">Programmatically close/hide/delete Google Maps tooltips</a></h3> <div class="excerpt">I have a map page that uses Google Maps Javascript APIs v3 and geoxml3 parser for parsing server-generated KML documents. When I refresh the map with a new KML I want to "clean" the map before displaying the new file. My code currently works as…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/google-maps" class="post-tag grid--cell" title="show questions tagged 'google-maps'" rel="tag">google-maps</a> <a href="../../questions/tagged/extjs" class="post-tag grid--cell" title="show questions tagged 'extjs'" rel="tag">extjs</a> <a href="../../questions/tagged/google-maps-api-3" class="post-tag grid--cell" title="show questions tagged 'google-maps-api-3'" rel="tag">google-maps-api-3</a> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 03 '13 at 09:20">asked Dec 03 '13 at 09:20</time> <a href="../../users/471213/usr-local-epseelon" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/471213.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="usr-local-ΕΨΗΕΛΩΝ" /> </a> <div class="s-user-card--info"> <a href="../../users/471213/usr-local-epseelon" class="s-user-card--link">usr-local-ΕΨΗΕΛΩΝ</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">26,101</li> <li class="s-award-bling s-award-bling__gold" title="30 gold badges">30</li> <li class="s-award-bling s-award-bling__silver" title="154 silver badges">154</li> <li class="s-award-bling s-award-bling__bronze" title="305 bronze badges">305</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-19562135"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/19562135/how-to-specify-the-location-of-kml-file-when-using-geoxml3-parser-with-meteor-" class="question-hyperlink">How to specify the location of kml file when using geoxml3 parser with meteor js</a></h3> <div class="excerpt">I have been trying to parse a kml file using the geoxml3 parser. The geoxml3.js file is put in the public folder. The parser is working fine if I put the kml file inside the public folder. geoXml.parse('doc.kml'); // this is working fine But how…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/meteor" class="post-tag grid--cell" title="show questions tagged 'meteor'" rel="tag">meteor</a> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 24 '13 at 09:31">asked Oct 24 '13 at 09:31</time> <a href="../../users/1587446/anoop" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1587446.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="anoop" /> </a> <div class="s-user-card--info"> <a href="../../users/1587446/anoop" class="s-user-card--link">anoop</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">539</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badges">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-19121428"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/19121428/geoxml3-not-returning-any-placemarks" class="question-hyperlink">GeoXML3 not returning any placemarks</a></h3> <div class="excerpt">I have a KML file containing some polygons that has been output from an application (not sure which one). When i try to load in the xml, it seems to load fine but doesn't return any placemarks, just an empty array. Link to KML file I have…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/google-maps-api-3" class="post-tag grid--cell" title="show questions tagged 'google-maps-api-3'" rel="tag">google-maps-api-3</a> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 01 '13 at 16:31">asked Oct 01 '13 at 16:31</time> <a href="../../users/435316/benpalmer" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/435316.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="benpalmer" /> </a> <div class="s-user-card--info"> <a href="../../users/435316/benpalmer" class="s-user-card--link">benpalmer</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">2,057</li> <li class="s-award-bling s-award-bling__gold" title="3 gold badges">3</li> <li class="s-award-bling s-award-bling__silver" title="17 silver badges">17</li> <li class="s-award-bling s-award-bling__bronze" title="21 bronze badges">21</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-18786876"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/18786876/google-maps-geoxml3-clear-before-ajax-call" class="question-hyperlink">Google maps, geoxml3, clear before AJAX call</a></h3> <div class="excerpt">I use geoXML to add many polygons and points to my map. I have KML file that is generated dynamically based on changes in associated form. ... function xmldata(center,zoom,objects) { var myParser = new geoXML3.parser({map: map,…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/jquery" class="post-tag grid--cell" title="show questions tagged 'jquery'" rel="tag">jquery</a> <a href="../../questions/tagged/ajax" class="post-tag grid--cell" title="show questions tagged 'ajax'" rel="tag">ajax</a> <a href="../../questions/tagged/google-maps" class="post-tag grid--cell" title="show questions tagged 'google-maps'" rel="tag">google-maps</a> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 13 '13 at 12:55">asked Sep 13 '13 at 12:55</time> <a href="../../users/1652582/jiri-valousek" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/1652582.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Jiří Valoušek" /> </a> <div class="s-user-card--info"> <a href="../../users/1652582/jiri-valousek" class="s-user-card--link">Jiří Valoušek</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">611</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="7 silver badge">7</li> <li class="s-award-bling s-award-bling__bronze" title="19 bronze badge">19</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-17691794"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>1</strong></span> <div class="viewcount">vote</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/17691794/geoxml3-open-an-info-window-automatically" class="question-hyperlink">GeoXML3 - Open an info window automatically</a></h3> <div class="excerpt">I have created a polygon and would like the info window to open automatically on load. How do I do this? This is what I have so far: var geoxml = null; function initialize() { infoWindow = new google.maps.InfoWindow(); var myLatlng = new…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/geoxml3" class="post-tag grid--cell" title="show questions tagged 'geoxml3'" rel="tag">geoxml3</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jul 17 '13 at 05:29">asked Jul 17 '13 at 05:29</time> <a href="../../users/2589953/user2589953" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/2589953.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user2589953" /> </a> <div class="s-user-card--info"> <a href="../../users/2589953/user2589953" class="s-user-card--link">user2589953</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">13</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="s-pagination pager fr"> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=1" rel="prev" title="Go to page 1">Prev </a> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=1" rel="" title="Go to page 1">1</a> <div class="s-pagination--item is-selected">2</div> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=3" rel="" title="Go to page 3">3</a> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=4" rel="" title="Go to page 4">4</a> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=5" rel="" title="Go to page 5">5</a> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=6" rel="" title="Go to page 6">6</a> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=7" rel="" title="Go to page 7">7</a> <a class="s-pagination--item" href="../../questions/tagged/geoxml3_page=3" rel="next" title="Go to page 3"> Next</a> </div> </div> </div> </div> </div> <script src="../../static/js/stack-icons.js"></script> <script src="../../static/js/fromnow.js"></script> </body> </html>