Fix bugs from map.js refactoring
Fix bugs from map.js refactoring

milebdo/map,milebdo/map,milebdo/map,milebdo/map,taviroquai/mapigniter2,taviroquai/mapigniter2,taviroquai/mapigniter2,taviroquai/mapigniter2