Hi Folk

I am an absolute beginner. My needs are very simple. I just want to open a 
google map and draw a rectangle on it.
In trying to learn this I have been able to open the map, plot a couple of 
markers and add a polygon but the rectangle simply eludes me!!

The map is a small area

    var mylatlng = new google.maps.LatLng(54.716952, -5.809269);
    var myOptions = {
      zoom: 10,
      center: mylatlng,
      mapTypeId: google.maps.MapTypeId.TERRAIN
    };

I then want to mark the rectangle bounded by these latlongs (54.68808, 
-5.88342) (54.68808, -5.88342)
I don't need it to be user adjustable, clickable or anything else.

Please help

James

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-maps-js-api-v3/-/fbqQUSZVo18J.
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-js-api-v3?hl=en.

Reply via email to