Created
July 5, 2012 20:49
-
-
Save pironic/3056327 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var markers={ | |
"Kalimdor": [ | |
{ | |
"createInfoWindow": true, | |
"icon": "chest.png", | |
"displayName": "Locations", | |
"groupName": "Towns-Kalimdor" | |
}, | |
{ | |
"createInfoWindow": true, | |
"icon": "photo.png", | |
"displayName": "Photos", | |
"groupName": "Screenshots-Kalimdor" | |
} | |
], | |
"Azeroth": [ | |
{ | |
"createInfoWindow": true, | |
"icon": "chest.png", | |
"displayName": "Locations", | |
"groupName": "Towns-Azeroth" | |
}, | |
{ | |
"createInfoWindow": true, | |
"icon": "photo.png", | |
"displayName": "Photos", | |
"groupName": "Screenshots-Azeroth" | |
} | |
] | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var markersDB={ | |
"Towns-Kalimdor": { | |
"raw": [ | |
{ | |
"y": 64, | |
"text": "Chichen Itza", | |
"z": -200, | |
"icon": "http://google-maps-icons.googlecode.com/files/ancienttemple.png", | |
"x": -150 | |
} | |
], | |
"name": "Locations", | |
"created": false | |
}, | |
"Screenshots-Kalimdor": { | |
"raw": [ | |
{ | |
"y": 58, | |
"text": "Here is a title <br><img width='350' height='250' src='http://i.imgur.com/9MqwRl.jpg'>", | |
"z": -90, | |
"icon": "photo.png", | |
"x": 34 | |
}, | |
{ | |
"y": 64, | |
"text": "Here is a second image<br><img width='350' height='250' src='http://i.imgur.com/9MqwRl.jpg'>", | |
"z": -90, | |
"icon": "photo.png", | |
"x": 34 | |
} | |
], | |
"name": "Photos", | |
"created": false | |
}, | |
"Towns-Azeroth": { | |
"raw": [ | |
{ | |
"y": 64, | |
"text": "Some Giant Castle", | |
"z": -90, | |
"icon": "http://google-maps-icons.googlecode.com/files/castle.png", | |
"x": 34 | |
} | |
], | |
"name": "Locations", | |
"created": false | |
}, | |
"Screenshots-Azeroth": { | |
"raw": [ | |
{ | |
"y": 58, | |
"text": "Here is a title <br><img width='350' height='250' src='http://i.imgur.com/9MqwRl.jpg'>", | |
"z": -90, | |
"icon": "photo.png", | |
"x": 34 | |
} | |
], | |
"name": "Photos", | |
"created": false | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the list of dictionaries in the 'raw' field of markersDB, please use this new template:
The title will be displayed in the marker alttext, and at the top of the popup info window. the description will only be displayed in the popup info window (and can be optional)