fix for new place button

This commit is contained in:
rolux 2011-06-01 14:08:29 +02:00
parent 84cfc65d79
commit bbdd3b4cf4
2 changed files with 3 additions and 2 deletions

View file

@ -401,6 +401,7 @@ Ox.Map = function(options, self) {
lng: center.lng(),
map: that,
name: '',
type: 'feature',
south: southwest.lat(),
west: southwest.lng(),
north: northeast.lat(),

View file

@ -27,7 +27,7 @@ Ox.MapMarker = function(options) {
borough: [255, 128, 0],
street: [255, 255, 0],
building: [255, 64, 128],
feature: [0, 192, 0],
feature: [0, 192, 0]
},
areaSize = {
100: 10, // 10 x 10 m
@ -36,7 +36,7 @@ Ox.MapMarker = function(options) {
100000000: 16, // 10 x 10 km
10000000000: 18, // 100 x 100 km
1000000000000: 20, // 1,000 x 1,000 km
100000000000000: 22, // 10,000 x 10,000 km
100000000000000: 22 // 10,000 x 10,000 km
};
if (options.map.options('showTypes')) {