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
3
votes
2 answers

geoxml3: How to load custom Icons

I need to load a custom kml file into a Google Map, the code is pretty much unchanged from the appropriate ressources: function initialize() { var myLatlng = new google.maps.LatLng(39.397, -100.644); var myOptions = { zoom: 5, center:…
2
votes
0 answers

google maps api does not load FEMA kmz

I have a problem where I cannot load a KMZ file from FEMA (https://hazards.fema.gov/femaportal/kmz/FEMA_NFHL_v3.1.kmz) on Google Maps API. When I run the JavaScript, the map is just blank. No errors. However, I can load other kmz which are not from…
Coder98235
  • 21
  • 1
2
votes
1 answer

geoxml v3 highlight polygons when using multiple KML files

In the need of a Portugal map where users can select districts onclick, I followed this example and this one. The problem is I'm using a KML file for each district to be drawn as a polygon instead of using a KML for ALL districts polygons. Already…
Afonso Gomes
  • 902
  • 1
  • 14
  • 40
2
votes
1 answer

Utilizing geoxml3 to display KML labels

I'm using the latest release of geoxml3 downloaded from Google Code Project. I can see the KML file placemarks on my map. The problem is I would like to display the labels as well. In my KML file I have Style id and StyleMap id assigned. I have…
JA1
  • 538
  • 2
  • 7
  • 21
2
votes
1 answer

On click Data populate in info window of a polygon using GeoXMl3

I'm using geoXMl3 to parse multiple kml files at a time. I'm getting polygons plotted on the map. when I click on the polygon an info-window pops up. I'm not getting from where this info-window is coming up My requirement is I want to edit the…
Vishal Mopari
  • 599
  • 7
  • 8
2
votes
1 answer

Google Maps geoXML3: passing a placemark into it's own event listener?

I'm working on an intranet project, so my KML files can't be externally available. This means I'm dependent on the geoXML3 library to parse my XML on to my Google map. However the lack of documentation around event listeners is frustrating. I want…
WarrenB
  • 2,145
  • 3
  • 14
  • 18
2
votes
1 answer

kmz/geoxml3: How to suppress "To Here - From Here" line in infowindows?

Since moving from google.maps.KmlLayer to geoxml3 I now have "To Here" and "From Here" links on a new line at the bottom of each infowindow. How do I get rid of those? After I posted the original question above, I figured out that this happens with…
2
votes
1 answer

Load kml extendeddata into variable with Geoxml3

I understand that Geoxml3 has a built in feature to load kml extendeddata into variables (from its source code - see bellow), but I couldn't find the way to access those variables after parsing. Does anyone know how to do it? Thanks, cheers. (line…
Rodolpho
  • 39
  • 1
  • 10
2
votes
1 answer

Convert KML overlay to PNG overlay for Google Maps

I have a large KML file with a lot of polygons and if I try to load it into my google maps application, with the JS library geoXML3, the javascript stops with timeouts. With small KMLs it's not a problem. Now, my idea is to convert the KML file to a…
user2554863
  • 61
  • 1
  • 2
  • 5
2
votes
1 answer

How to hide geoxml3 markers when loading KML files?

I have a geoXML3 parser reading (multiple) KML files onto a Google map, and I have the red arrow/markers showing up. Is there any way to suppress them? var myOptions = { center: new google.maps.LatLng(39.397, -100.644), zoom: 4, …
Rio
  • 14,182
  • 21
  • 67
  • 107
1
vote
1 answer

How to completely remove parsed geoXml from map

how to remove drawn kml shape from map which is parsed by geoXml3 so that we can parse and draw a newone. I am only seeing method of hideDocument and showDocument on geoXml but it doesn't completely remove. let filename =…
1
vote
0 answers

Parse kml with geoxml3 in maps api v3 but stop rebuilding the sidebar when bounds/zoom changed

I've found a great page that demonstrates many uses of the Google Maps Api v2 and v3. I tried to understand each line of the javascript and make something similar to what can be found on the page linked above. However I can't understand two…
elbatron
  • 675
  • 3
  • 16
  • 30
1
vote
2 answers

GeoXML3 Sidebar Highlighting / KML Layout

I have 3 KML files that I am loading in based on this example (thank you @geocodezip): http://www.geocodezip.com/geoxml3_test/v3_geoxml3_multipleKML_test.html On the sidebar when hovering your mouse over one of the KML file names in the sidebar more…
user8277316
1
vote
1 answer

loading external JSON file for google map styling breaks subsequent map operations

I have learned from this post on SO how to safely load an external JSON styling file for google maps and avoid race conditions by using callback functions. However, the addition of that code seems to have broken all subsequent operations on the map…
BartmanEH
  • 222
  • 2
  • 13
1
vote
1 answer

geoXML3 add custom icon for marker

I am trying to add a custom icon for the marker after parsing a kml file with geoXML3, but I cannot figure out how. I cannot add specifications in the kml files, so I am trying to do it with Javascript. I didn't manage to find any useful…
waytosay
  • 198
  • 1
  • 13
1
2 3 4 5 6 7