Sign up ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I would like to show multiple places at Google Maps. KML files does not suit me.

Is it possible to pass Google Maps a set of points in URL parameters?

share|improve this question

migrated from May 3 '11 at 19:02

This question came from our site for computer enthusiasts and power users.

why doesn't kml work? The hosted file URL can be passed as a URL parameter in google maps for display of multiple points. –  Joel H May 4 '11 at 15:42

5 Answers 5

Use the google maps javascript API - it has suitable functions

      <div id="map_canvas" style="width:425px; height:550px"></div> 

      <script type="text/javascript" src=""></script> 
      <script type="text/javascript"> 

        var map;
        var markers = [];


        function initialize() {
          var myOptions = {
            zoom: 10,
            center: new google.maps.LatLng(100.090, -100.536),
            mapTypeId: google.maps.MapTypeId.ROADMAP
          map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);

          addMarker(new google.maps.LatLng(100.0747, -100.6274), "Alien");
          addMarker(new google.maps.LatLng(100.0758, -100.6254), "Zombie");
          addMarker(new google.maps.LatLng(100.0721, -100-6292), "Vampire");


        function addMarker(latlng, myTitle) {
          markers.push(new google.maps.Marker({
            position: latlng, 
            map: map,
            title: myTitle,
            icon: "" + String.fromCharCode(markers.length + 65) + ".png"

share|improve this answer
Thanks a lot, RedGrittyBrick! I will try your solution. –  Alex May 3 '11 at 18:54

I have deleted my contribution as Petra's solution is better.

share|improve this answer

This is the fastest way to put the points on Google Map - you will need either excel or CSV data: and then choose QUICK MAP.

In case you need a programming solution, the source code of that website is quite straightforward ;)

share|improve this answer

For using GMap js API you need a key, more info at

share|improve this answer
A bit more info is needed, don't you think? –  Jacob Jan Tuinstra Mar 14 '13 at 12:02

Try using the Google Map Creator.

share|improve this answer
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Jacob Jan Tuinstra Jun 2 at 19:08

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.