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

Error:Object # has no method 'containsLatLng'

Iam trying to find the polygon in which the given cordinate resides. Here is the code for parsing the kml file : for (var i = 0; i < doc[0].placemarks.length; i++) { for(var j= 0;…
Arun Unnikrishnan
  • 2,339
  • 2
  • 25
  • 39
1
vote
1 answer

GeoXML3 does not parse KML file with polygons

For some reason, I can't get GeoXML3 to parse my KML file at all. My ultimate goal is to use the GeoXML3 parser to allow me to import polygon overlays via a KML file, then change the fill property of those polygons on a click event (to symbolize…
Nate Kibler
  • 652
  • 3
  • 14
1
vote
1 answer

Google Maps API get a polyline from KML

I have loaded a KML file into a Google map using both V3 and geoxml3. The file contains one line, saved from Maps walking directions. I want to add mile markers to the line, but I can't find any documentation on how to get a polyline from the…
skeniver
  • 2,647
  • 6
  • 28
  • 34
1
vote
1 answer

geoXML3, how to load all KML files in a folder?

I have the below code in javacript using geoXML3 which successfully loads/parses and displays the KML file shown. var geoXml = new geoXML3.parser({map: map, singleInfoWindow: true}); geoXml.parse('/myapp/resources/kml/fileone.kml'); The…
Nick Foote
  • 2,425
  • 9
  • 36
  • 47
1
vote
1 answer

Parsing a .kml file with geoxml3 for markerclusterer: markers not popping up infowindow

I've got a map with markers loaded from a .kml file, and I'm using geoxml3 to parse it, and markerclusterer to cluster them. I've added some code to try and have the and tags on each of the markers in the kml file to be on an infoWindow when the…
tvann
  • 63
  • 7
1
vote
1 answer

parse KML file with geoxml3 and markerclusterer

I'm using geoxml3 and markerclusterer to parse a kml file to a google maps api v3 map. this works so far. the kml file stores several information. Manfred Mustermann Manfred Mustermann
Anatol
  • 1,923
  • 6
  • 26
  • 55
0
votes
1 answer

geoxml3: z-index issues and changing cursor on mouseover

I'm currently working on a Google Maps API v3 project and I'm using geoxml3 to load some kml files which have polylines. However, I'd like to use the API's kmllayer option to load a kml file which has only markers (it's much faster than…
bockyPT
  • 1
  • 1
0
votes
1 answer

Change font size of placemark's name when zooming

I'm using geoxml3 and Google map to display a KML file with some placemarks have names. I created the parser like this: $(function() { var myOptions = { center: new google.maps.LatLng(105.4009049697155, 45.9307395294156), zoom: 15, …
Canh
  • 516
  • 1
  • 3
  • 9
0
votes
0 answers

get kml coordinates on google map and adjust/drag coordinates on map using geoxml

I have rendered/parsed KML file on google map. Now I need that whatever coordinates kml has that should be show on map and that I should able to drag those coordinates. Also I have drawing tools in my code. If that is draw then that should be also…
0
votes
0 answers

myMap is there a way to authenticate

Is there a way to able to get the data even it was restricted sharing. I'm currently using mymap. var src = "https://www.google.com/maps/d/kml?mid={id}&forcekml=1" geoXml = new geoXML3.parser({ map: map, infoWindow: infowindow, …
NEWBIE
  • 21
  • 2
  • 4
0
votes
0 answers

Loading large KML layers without blocking UI

I'm loading large KML layers using the google maps API and geoxml3, via parseKMLString. Relevant question and Example using this function. While these files are being rendered to the map, the UI is frozen. As this is using google maps, I can't put…
JWiley
  • 3,129
  • 8
  • 41
  • 66
0
votes
0 answers

Geoxml3 Shows Unable to retrieve Kml file

i went through lots of answers posted regarding the below question. i wanted to retrieve the kml file from the local and so i used geoxml var myParser = new geoXML3.parser({ map: map }); myParser.parse('indiastatev2.kml'); here is the code which i…
Ronak Shetiya
  • 960
  • 6
  • 27
0
votes
1 answer

How to store extended data from parsed kml files into variables

I parse a kml file through geoxml3 where the placemarks have extended data fields. Using the geoxml.js from the kmz branch (trying to follow the solution here: Load kml extendeddata into variable with Geoxml3), I still find that…
Josh
  • 19
  • 5
0
votes
1 answer

Unable to render KML file into google map

My Google map code var myOptions = { center: {lat: 55.864237, lng: -4.251806}, zoom: 16, mapTypeId: google.maps.MapTypeId.SATELLITE }; var map1 = new google.maps.Map(document.getElementById("map"), myOptions); var geoXml = new…
Paul
  • 23
  • 1
  • 6
0
votes
2 answers

GeoXml3 Display Custom Field From KML File In A DIV Tag

I am trying to get data from a custom field in the KML file to display in the div id=summary section when that KML file is selected from either the map or the sidebar. I just simply copied the sidebar html to make a summary html section and wanted…
PieDev
  • 197
  • 1
  • 10