Update markers
This commit is contained in:
parent
46a79f2c66
commit
e643e5c315
|
@ -26,14 +26,14 @@
|
||||||
var formString = '<%= render(:partial => "adoption_form").gsub("\n", "") %>'
|
var formString = '<%= render(:partial => "adoption_form").gsub("\n", "") %>'
|
||||||
function addMarker(point, color, contentString) {
|
function addMarker(point, color, contentString) {
|
||||||
var image = new google.maps.MarkerImage(color,
|
var image = new google.maps.MarkerImage(color,
|
||||||
new google.maps.Size(25.0, 44.0),
|
new google.maps.Size(27.0, 37.0),
|
||||||
new google.maps.Point(0, 0),
|
new google.maps.Point(0, 0),
|
||||||
new google.maps.Point(12.0, 22.0)
|
new google.maps.Point(13.0, 18.0)
|
||||||
);
|
);
|
||||||
var shadow = new google.maps.MarkerImage('/images/markers/shadow.png',
|
var shadow = new google.maps.MarkerImage('/images/markers/shadow.png',
|
||||||
new google.maps.Size(48.0, 44.0),
|
new google.maps.Size(46.0, 37.0),
|
||||||
new google.maps.Point(0, 0),
|
new google.maps.Point(0, 0),
|
||||||
new google.maps.Point(12.0, 22.0)
|
new google.maps.Point(13.0, 18.0)
|
||||||
);
|
);
|
||||||
var marker = new google.maps.Marker({
|
var marker = new google.maps.Marker({
|
||||||
position: point,
|
position: point,
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.8 KiB |
Loading…
Reference in New Issue