Questions tagged [geoxml]

8 questions
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

cluster kml files with geoxml3

i'm using geoxml3 to parse my kml file. this works so far. now i'm trying to cluster these files so the map is not full of markers at low zoom levels my kml file looks something like this (of course more markers(up to 200))
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

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

get path from kml geoxml3

I am working with google maps and using geoxml3 to parse my kml string and its showing on Google maps , now I want to get lines info like number of lines in kml string and its location can i get the info of lines drawn by parsed kml…
Kumail Hussain
  • 869
  • 2
  • 26
  • 49
0
votes
3 answers

enabling CORS on apache

I am trying to enable CORS but it is not workign for me. i am runnign centos 6.5 with apache. aplication wordpress. i have tried the following. set header in template file set header in .htaccess http://enable-cors.org/server_apache.html Header…
shorif2000
  • 2,582
  • 12
  • 65
  • 137
0
votes
1 answer

How to "AddListener placemark click" with GeoXML3

I have a Google map, with placemarks from a .kmz file, and an "AddListener" event to display customized placemark information when a placemark is clicked : http://Bus.w.pw/DefaultIconAddListener.html :
0
votes
1 answer

Geoxml-V3 icon request path repeated in request

Im trying to migrate form geoxml to geoxml-v3 and also google maps v2 to v3. The issue I'm having is with geoxml-v3. The icon request generated on the client from geoxml-v3 is garbeled. For example localhost/app/resources/icon.png will become…
Damien
  • 308
  • 4
  • 15