forked from 0x2620/oxjs
remove print statements
This commit is contained in:
parent
e3f900030c
commit
fbeb434e27
11 changed files with 0 additions and 24 deletions
|
|
@ -587,7 +587,6 @@ Ox.Map = function(options, self) {
|
|||
var place = getSelectedPlace(),
|
||||
country = Ox.getCountryByGeoname(place.geoname);
|
||||
Ox.extend(place, data);
|
||||
//Ox.print('addPlaceToPlaces, place name:', place.name)
|
||||
self.options.selected = place.id;
|
||||
place.countryCode = country ? country.code : '';
|
||||
Ox.Log('Map', 'addP2P', data, place);
|
||||
|
|
@ -956,7 +955,6 @@ Ox.Map = function(options, self) {
|
|||
|
||||
function mapChanged() {
|
||||
// gets called after panning or zooming
|
||||
//Ox.print('Map', 'mapChanged');
|
||||
if (self.boundsChanged) {
|
||||
var bounds = self.map.getBounds(),
|
||||
southWest = bounds.getSouthWest(),
|
||||
|
|
@ -1158,7 +1156,6 @@ Ox.Map = function(options, self) {
|
|||
self.places.splice(Ox.getIndexById(self.places, place.id), 1);
|
||||
self.resultPlace && self.resultPlace.remove();
|
||||
self.resultPlace = place;
|
||||
//Ox.print('removed place, place is now', place);
|
||||
place.marker.update();
|
||||
place.rectangle.update();
|
||||
}
|
||||
|
|
@ -1170,7 +1167,6 @@ Ox.Map = function(options, self) {
|
|||
}
|
||||
|
||||
function selectPlace(id, zoom) {
|
||||
//Ox.print('SELECT PLACE', id)
|
||||
// id can be null (deselect)
|
||||
var place, selected = getSelectedMarker();
|
||||
if (!self.loaded) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue