This is the group for the now Deprecated v2 of the maps api.

Go here
https://developers.google.com/maps/forum/
to find where to get help.

On Wed, May 16, 2012 at 1:30 PM, Arsalan <[email protected]> wrote:
> Hi,
>
> Can you plz share , being a beginner, the codes of placing multiple
> markers and a 500 metre radius around each. The Code which I am
> working on it as follows . Please advice on can it be used to just
> create simple markers and 500 metre readius around each.
>
>
> <!DOCTYPE html>
> <html>
> <head>
> <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
> <meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
> <title>Google Maps JavaScript API v3 Example: Circle Simple</title>
> <link href="new3.css" rel="stylesheet" type="text/css" />
> <script type="text/javascript" src="https://maps.googleapis.com/maps/
> api/js?sensor=false"></script>
> <script type="text/javascript">
>
>  // Create an object containing LatLng, population.
>
>  var citymap = {};
>  citymap['chicago'] = {
>    center: new google.maps.LatLng(41.878113, -87.629798),
>    population: 2842518
>  };
>  citymap['newyork'] = {
>    center: new google.maps.LatLng(40.714352, -74.005973),
>    population: 8143197
>  };
>  citymap['losangeles'] = {
>    center: new google.maps.LatLng(34.052234, -118.243684),
>    population: 3844829
>  }
>  var cityCircle;
>
>  function initialize() {
>
>    var mapOptions = {
>      zoom: 4,
>      center: new google.maps.LatLng(37.09024, -95.712891),
>       mapTypeId: google.maps.MapTypeId.TERRAIN
>    };
>
>    var map = new
> google.maps.Map(document.getElementById("map_canvas"),
>        mapOptions);
>
>
>
>    for (var city in citymap) {
>      // Construct the circle for each value in citymap. We scale
> population by 20.
>      var populationOptions = {
>        strokeColor: "#FF0000",
>        strokeOpacity: 0.8,
>        strokeWeight: 2,
>        fillColor: "#FF0000",
>        fillOpacity: 0.35,
>        map: map,
>        center: citymap[city].center,
>        radius: citymap[city].population / 20,
>
>      };
>      cityCircle = new google.maps.Circle(populationOptions);
>    }
>        var marker = new google.maps.Marker({
>        position: new google.maps.LatLng(37.09024, -95.712891),
>            title:"mr Rafi",
>                        map: map
>
>                });
>  }
> </script>
> </head>
> <body onload="initialize()">
>  <div id="map_canvas"></div>
> </body>
> </html>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Apr 30, 1:55 pm, Rossko <[email protected]> wrote:
>> > Please advice on how to get multiple maps of diff areas on one screen.
>>
>> Are you using javascript API v2?  It's really unwise to develop new
>> projects in v2.
>>
>> Example from searching this group 
>> -http://groups.google.com/group/google-maps-api/browse_thread/thread/4...
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google Maps API V2" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-maps-api?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to