2006Scape Wiki:Map: Difference between revisions
Jump to navigation
Jump to search
→Map Implementation
scape_>Ralpha |
scape_>Ralpha |
||
Line 240: | Line 240: | ||
// if both (providerID and icon) properties are not given, or image not found, it will fall back to a grey marker | // if both (providerID and icon) properties are not given, or image not found, it will fall back to a grey marker | ||
"mapID": 0, // mapID of when to display icon can be number (0) of array of numbers ([0,1]) to display on multiple maps | "mapID": 0, // mapID of when to display icon can be number (0) of array of numbers ([0,1]) to display on multiple maps | ||
"zoom": [0, 5] // optional, only display this feature between zoom levels, [minZoom, maxZoom] | "zoom": [0, 5], // optional, only display this feature between zoom levels, [minZoom, maxZoom] | ||
// Popup will only be availible is one of the following properties are added: 'title' and/or 'description' | |||
"title": "[[Lumbridge General Store]] Buy now!", // optional, only works inline wiki in <mapframe> or <maplink>, Added any wikitext and this will be displayed in popup | |||
"description": "Buy your [[File:Bucket.png]] here, only 2 gp" // optional, only works inline wiki in <mapframe> or <maplink>, Added any wikitext and this will be displayed in popup | |||
}, | }, | ||
"geometry": { | "geometry": { |