Updated .env
This commit is contained in:
@@ -486,7 +486,7 @@ var GMaps = (function(global) {
|
||||
});
|
||||
};
|
||||
|
||||
//google.maps.event.addListener(this.map, 'idle', this.hideContextMenu);
|
||||
//google.maps.Events.addListener(this.map, 'idle', this.hideContextMenu);
|
||||
google.maps.event.addListener(this.map, 'zoom_changed', this.hideContextMenu);
|
||||
|
||||
for (var ev = 0; ev < events_that_hide_context_menu.length; ev++) {
|
||||
@@ -516,7 +516,7 @@ var GMaps = (function(global) {
|
||||
});
|
||||
|
||||
/**
|
||||
* Trigger a `resize` event, useful if you need to repaint the current map (for changes in the viewport or display / hide actions).
|
||||
* Trigger a `resize` Events, useful if you need to repaint the current map (for changes in the viewport or display / hide actions).
|
||||
*/
|
||||
this.refresh = function() {
|
||||
google.maps.event.trigger(this.map, 'resize');
|
||||
|
||||
@@ -77,7 +77,7 @@ GMaps.prototype.addLayer = function(layerName, options) {
|
||||
layer.setTag(options.filter);
|
||||
delete options.filter;
|
||||
|
||||
//click event
|
||||
//click Events
|
||||
if (options.click) {
|
||||
google.maps.event.addListener(layer, 'click', function(event) {
|
||||
options.click(event);
|
||||
|
||||
Reference in New Issue
Block a user