[Plugin: XML Google Maps] Get Directions
-
I’m having problems displaying the get directions link within the balloon. I’m using the proper google api methods but the links fail to display.
I was just curious, did you code the plugin to parse the complete .kml file or not? It will display the <description> tags, but it won’t display the <text> tags that the get directions api code relies on.
Any help with this matter will be greatly appreciated!
Thanks,
ZackFor Reference
Website: https://www.zackandrews.com/?page_id=292
<?xml version="1.0" encoding="UTF-8"?> <kml xmlns="https://earth.google.com/kml/2.2"> <Document> <name>flatsidepinnacle.kml</name> <Style id="map"> <IconStyle> <scale>0.5</scale> <Icon> <href>https://maps.google.com/mapfiles/kml/shapes/arrow.png</href> </Icon> <hotSpot x="32" y="1" xunits="pixels" yunits="pixels"/> </IconStyle> <BalloonStyle> <displayMode>default</displayMode> <text> $[geDirections] </text> </BalloonStyle> </Style> <Placemark> <name>Flatside Pinnacle</name> <styleUrl>#map</styleUrl> <Point> <coordinates>-92.91034267538383,34.87367497259747,0</coordinates> </Point> </Placemark> </Document> </kml>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: XML Google Maps] Get Directions’ is closed to new replies.