Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var position = new google.maps.LatLng(place["latitude"], place["longitude"]);
- // define marker
- var marker = new google.maps.Marker({
- map: map,
- position: position,
- title: place["place_name"] + ", " + place["admin_name1"],
- label: place["place_name"] + ", " + place["admin_name1"],
- icon: { url: "http://maps.google.com/mapfiles/kml/paddle/purple-stars.png",
- scaledSize: new google.maps.Size(50,50),
- origin: new google.maps.Point(0, 30),
- //size: new google.maps.Size(20, 32),
- anchor: new google.maps.Point(0, 30)
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement