Template:Fragoria Map
From FragoriaWiki
(Difference between revisions)
Line 132: | Line 132: | ||
var image = { | var image = { | ||
url: '/wiki/images/c/c3/Greendungeon.png', | url: '/wiki/images/c/c3/Greendungeon.png', | ||
- | size: new google.maps.Size(21, 20), / | + | size: new google.maps.Size(21, 20), /* Marker size (pixel width, pixel length) */ |
- | origin: new google.maps.Point(10.5,10), / | + | origin: new google.maps.Point(10.5,10), /* Image origin */ |
- | anchor: new google.maps.Point(10.5, 10) / | + | anchor: new google.maps.Point(10.5, 10) /* Point affixed onto map */ |
}; | }; | ||
var shape = { | var shape = { | ||
- | coords: [0, 0, 0, 20, 21, 20 , 20, 0], / | + | coords: [0, 0, 0, 20, 21, 20 , 20, 0], /* Clickable region of map. Increases X to the right and Y down. */ |
type: 'poly' | type: 'poly' | ||
}; | }; |
Revision as of 22:15, 6 April 2015