1
0
Fork 0
forked from 0x2620/oxjs

remove print statements

This commit is contained in:
rolux 2012-06-15 11:47:18 +02:00
commit fbeb434e27
11 changed files with 0 additions and 24 deletions

View file

@ -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) {