About Add Filter Go To List Routes Refresh Search var moderator = false, member = false, virgin = true, kind = “REGULAR”; kind = “REGULAR”; var qw = null, aw = null, zoom = 4, directions = false, initial_load = false, printicon = false, mheader = false, combine = true, initial_msg = “”, embedded = true, total_count = 1,map = null,group = 3361943;function setCoords() {} function setUpMap(onthienmaonline.vn) { setCoords();MapModel.restorePosition();var mo = {};mo.center = MapModel.getCenter();mo.zoom = MapModel.getZoom();mo.mapTypeControl = true;if (onthienmaonline.vn) {mo.mapTypeControlOptions = {position: google.maps.ControlPosition.RIGHT_TOP};}mo.mapTypeId = google.maps.MapTypeId.ROADMAP;mo.overviewMapControl = false;mo.panControl = true;mo.zoomControl = true;mo.zoomControlOptions = {style: google.maps.ZoomControlStyle.LARGE};mo.gestureHandling = “none”;mo.gestureHandling = “cooperative”;mo.streetViewControl = false;mo.scaleControl = true;var poiOn = },{featureType: “poi.medical”,elementType: “labels”,stylers: }>;mo.styles = poiOn;mo.minZoom = 0;mo.maxZoom = 21;mo.zoomControlOptions = {position: google.maps.ControlPosition.RIGHT_TOP};var mapcontainer = document.createElement(“div”);mapcontainer.id = “map_container”;mapcontainer.appendChild(document.createTextNode(“Map loading, please wait…”));map = new google.maps.Map(mapcontainer, mo);$(“#mobilecontainer”).empty().append(mapcontainer);Pub.setWhiteLabel(false);InfoWindow.setAudioStart(!false);InfoWindow.setVideoBelow(false);MapModel.setPrivate(false);Manager.getNewSet();Annotations.load();Region.hasRegions(false);Region.borderRegions(false);Region.load();Connections.init(false); }loadStyleSheet(“https://cdn.thienmaonline.vn/css/vm1d/mobile.css”);var map,mapsapiloaded = false,jsloaded = false,inited = false,showmap = false,showentry = false,mapcontainer = null,m = document.getElementById(“mobilecontainer”),locked = false,unlockkey = “”;function initializeMapJS() {$.ajaxSetup({data: {g: group}});try { MapModel.setTotalCount(parseInt(“1”));} catch (ex) {} MapModel.setEmbedded(false); MapModel.setMobile();MapModel.setClustering(false);MapModel.setNoRegionLabels(false);Pub.setList(true);MapModel.setClusterStrength(60);MapModel.setClusterMaxZoom(15);MapModel.setMemEdit(false);MapModel.setHeatMap(false);MapModel.setMinZoom(0);MapModel.setMaxZoom(21);MapModel.setOwner(635279); List.setCategorized(!true);MapModel.set_my_maps();AllMarkers.setSortKey(0);AllMarkers.setSortDescending(false); MarkerView.setMarkerType(1);MarkerView.set_number(true);MarkerView.setLabelOverlapping(false);MarkerView.setLegendLayer(false);MarkerView.setUseLabels(-1);Colors.init(false);if (MapModel.isTiled() || MapModel.heatMap()) { $(“li.notwtiles”).hide();}Pages.setViewTitle(“entrypage”, “Details”);Pages.setViewTitle(“goto”, “Go To”);Pages.setViewTitle(“list”, “List”);Pages.setViewTitle(“filter”, “Filter”);Pages.setViewTitle(“add”, “Add Marker”); }function ready() {if (mapsapiloaded && jsloaded) {if (showentry) {InfoWindow.init();$(document).trigger(“showentry”, );} else if (showmap) {loadmap();}}}function initialize() {mapsapiloaded = true;ready();}function turnkey() {if (!unlockkey) {return;}$.get(“/login”, {_dc: Math.random(), g: group, p: unlockkey}, function(d) {d = $.trim(d);User.setRole(d);if (d === “None”) {alert(“The key did not match any of the map passwords. Please try again.”);return;} else {window.location.href = window.location.href;}}, “html”);}function mobilejsloaded() {vex.defaultOptions.className = “vex-theme-default”;if (locked) {turnkey();}jsloaded = true;Metrics.record(Metrics.visit);gtm_senduserid();User.setRole(“Member”);ready();}function loadmap() {if (locked) {window.location.href = “/map?group=” + group;}if (mapsapiloaded && jsloaded) {if (!inited) {initializeMapJS();$(document).trigger(“mapsapiloaded”);Manager.init(false);inited = true;mapcontainer = document.getElementById(“map_container”);Routes.init();} else {m.innerHTML = “”;m.appendChild(mapcontainer);google.maps.event.trigger(map, “resize”);}}showmap = true;return false;}function unlockmap(e) {var e = document.getElementById(“unlockkey”);unlockkey = e.value;if (!unlockkey) {alert(“Please specify a key to unlock map.”);return;}if (jsloaded) {turnkey();} else {locked = true;}}var script = document.createElement(“script”);script.type = “text/javascript”;script.defer = true;script.src = “https://maps.googleapis.com/maps/api/js?v=quarterly&client=gme-thienmaonline.vncom1&channel=mobile-y&libraries=geometry,drawing,places,visualization&callback=initialize”;script.async = “async”;document.body.appendChild(script);loadScript(“https://cdn.thienmaonline.vn/js/vm2a/mobile-map.js”, );
Chuyên mục: BĐS