Hi I have been trying to get a google map on one of my websites. In the past I had no trouble. But now having forgotten what I did I googled the topic and found an explanation that required adding javascript to the head section and a div with map-canvas in it. After checking and correcting some typos. I found it didn't work and read somewhere that the installation requires a key. I went to Google and got a key after setting the API to On. But don't know how to enter it. just pasting it after .../js as .../js?key= …

Member Avatar
Member Avatar
+0 forum 4

Dear Readers! I would like to ask your kind help about showing just the selected markers in Google Maps API V3. I have a HTML select -> <select onchange="appartments()" id="selectField"> <option value="appartment1">Choose one appartment...</option> <option value="appartment2">1052 Budapest, Galamb u. 3.</option> <option value="appartment3">1052 Budapest, Régi posta u. 11.</option> <option value="appartment4">1052 Budapest, Régi posta u. 14.</option> <option value="appartment5">1051 Budapest, Vörösmarty tér 2.</option> <option value="appartment6">1066 Budapest, Ó u. 5.</option> </select> I have the API V3 and the markers -> function appartments() { var get_id = document.getElementById('selectField'); console.log(get_id); var result = get_id.options[get_id.selectedIndex].value; } IF ELSE HERE! var marker = new google.maps.Marker(); marker.setPosition(new google.maps.LatLng(47.5037832, 19.0575725)); …

Member Avatar
+0 forum 0

Hello all, Im new here and looking for some advice re the google maps javascript API (which im also pretty new at) The background: I have managed to get some pages that use the googlemaps interface up and running add markers to them etc and allow the user view directions from there location to any of the markers by directing them to google maps in a separate tab. The Problem: My client (boss) likes the maps on my page and the google directions BUT wants the directions to appear in a child window not as part of another page in …

Member Avatar
Member Avatar
+0 forum 2

Hello everybody, I have some trouble with the google maps api. I want to add markers from a xml file to my map but it seems that the function is not parsing my xml file and I am clueless. Any ideas here is my code: [code] <!DOCTYPE html> <html> <head> <meta name="viewport" content="initial-scale=1.0" /> <style type="text/css"> html { height: 100% } body { height: 100%; margin: 0px; padding: 0px } #map_canvas { height: 100% } </style> <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script> <script type="text/javascript" src="util.js"></script> <script type="text/javascript"> var map = null; function load() { var latlng = new google.maps.LatLng(-34.397, 150.644); var option = …

Member Avatar
Member Avatar
+0 forum 3

The End.