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?

  • 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, 2011 at 15:42

4 Answers 4


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="http://maps.google.com/maps/api/js?sensor=false"></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: "http://maps.google.com/mapfiles/marker" + String.fromCharCode(markers.length + 65) + ".png"


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

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


For using GMap js API you need a key, more info at https://developers.google.com/maps/documentation/javascript/tutorial?hl=sk#api_key

  • 1
    A bit more info is needed, don't you think? Mar 14, 2013 at 12:02

Try using the Google Map Creator.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.