forked from 0x2620/oxjs
use Ox.Log
This commit is contained in:
parent
92d25b6776
commit
dce2843303
50 changed files with 276 additions and 276 deletions
|
|
@ -47,7 +47,7 @@ Ox.MapRectangleMarker = function(options, self) {
|
|||
|
||||
function drag(e) {
|
||||
// fixme: implement shift+drag (center stays the same)
|
||||
Ox.print(e.pixel.x, e.pixel.y)
|
||||
Ox.Log('Map', e.pixel.x, e.pixel.y)
|
||||
var lat = Ox.limit(e.latLng.lat(), Ox.MIN_LATITUDE, Ox.MAX_LATITUDE),
|
||||
lng = e.latLng.lng();
|
||||
that.drag = {
|
||||
|
|
@ -66,8 +66,8 @@ Ox.MapRectangleMarker = function(options, self) {
|
|||
if (that.position.indexOf('e') > -1) {
|
||||
that.place.east = lng;
|
||||
}
|
||||
//Ox.print('west', that.place.west, 'east', that.place.east);
|
||||
//Ox.print('south', that.place.south, 'north', that.place.north);
|
||||
//Ox.Log('Map', 'west', that.place.west, 'east', that.place.east);
|
||||
//Ox.Log('Map', 'south', that.place.south, 'north', that.place.north);
|
||||
that.place.update();
|
||||
that.place.marker.update();
|
||||
that.place.rectangle.update();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue