Permalink
Browse files

Fix layers examples for 1.0.0-alpha2

  • Loading branch information...
1 parent 6ce7711 commit 09140697231fa0adf25b66bf0f91fdda878b65b6 @tmcw tmcw committed Mar 14, 2012
Showing with 5 additions and 5 deletions.
  1. +4 −4 examples/layers/index.html
  2. +1 −1 package.json
@@ -9,10 +9,10 @@
{
var mm = com.modestmaps,
bust = '?q=005',
- bg = new MM.Layer(new mm.TemplatedLayer('http://acetate.geoiq.com/tiles/terrain/{Z}/{X}/{Y}.png'+bust)),
- fg = new MM.Layer(new mm.TemplatedLayer('http://acetate.geoiq.com/tiles/acetate-fg/{Z}/{X}/{Y}.png'+bust)),
- osm = new MM.Layer(new mm.TemplatedLayer('http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'+bust)),
- mq = new MM.Layer(new mm.TemplatedLayer('http://otile1.mqcdn.com/tiles/1.0.0/osm/{Z}/{X}/{Y}.jpg'+bust));
+ bg = new mm.TemplatedLayer('http://acetate.geoiq.com/tiles/terrain/{Z}/{X}/{Y}.png'+bust),
+ fg = new mm.TemplatedLayer('http://acetate.geoiq.com/tiles/acetate-fg/{Z}/{X}/{Y}.png'+bust),
+ osm = new mm.TemplatedLayer('http://tile.openstreetmap.org/{Z}/{X}/{Y}.png'+bust),
+ mq = new mm.TemplatedLayer('http://otile1.mqcdn.com/tiles/1.0.0/osm/{Z}/{X}/{Y}.jpg'+bust);
var map = new mm.Map('map', [bg, fg], new mm.Point(800, 360));
View
@@ -1,7 +1,7 @@
{
"name": "modestmaps",
"description": "a display and interaction library for tile-based maps",
- "version": "1.0.0-alpha1",
+ "version": "1.0.0-alpha2",
"author": {
"name": "Tom Carden",
"email": "tom@tom-carden.co.uk",

0 comments on commit 0914069

Please sign in to comment.