fix for new place button
This commit is contained in:
parent
84cfc65d79
commit
bbdd3b4cf4
2 changed files with 3 additions and 2 deletions
|
@ -401,6 +401,7 @@ Ox.Map = function(options, self) {
|
||||||
lng: center.lng(),
|
lng: center.lng(),
|
||||||
map: that,
|
map: that,
|
||||||
name: '',
|
name: '',
|
||||||
|
type: 'feature',
|
||||||
south: southwest.lat(),
|
south: southwest.lat(),
|
||||||
west: southwest.lng(),
|
west: southwest.lng(),
|
||||||
north: northeast.lat(),
|
north: northeast.lat(),
|
||||||
|
|
|
@ -27,7 +27,7 @@ Ox.MapMarker = function(options) {
|
||||||
borough: [255, 128, 0],
|
borough: [255, 128, 0],
|
||||||
street: [255, 255, 0],
|
street: [255, 255, 0],
|
||||||
building: [255, 64, 128],
|
building: [255, 64, 128],
|
||||||
feature: [0, 192, 0],
|
feature: [0, 192, 0]
|
||||||
},
|
},
|
||||||
areaSize = {
|
areaSize = {
|
||||||
100: 10, // 10 x 10 m
|
100: 10, // 10 x 10 m
|
||||||
|
@ -36,7 +36,7 @@ Ox.MapMarker = function(options) {
|
||||||
100000000: 16, // 10 x 10 km
|
100000000: 16, // 10 x 10 km
|
||||||
10000000000: 18, // 100 x 100 km
|
10000000000: 18, // 100 x 100 km
|
||||||
1000000000000: 20, // 1,000 x 1,000 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')) {
|
if (options.map.options('showTypes')) {
|
||||||
|
|
Loading…
Reference in a new issue