PATH:
var
/
www
/
clients
/
client1
/
web1
/
web
/
wp-content
/
wp-google-maps-pro
/
js
/
v8
/** * @namespace WPGMZA * @module ProMapListPage * @requires WPGMZA.MapListPage */ jQuery(function($) { WPGMZA.ProMapListPage = function() { var self = this; WPGMZA.MapListPage.apply(this, arguments); $("[data-action='new-map']").on("click", function(event) { self.onNewMap(event); }); $("[data-action='wizard']").on("click", function(event) { self.onWizard(event); }); } WPGMZA.extend(WPGMZA.ProMapListPage, WPGMZA.MapListPage); WPGMZA.MapListPage.createInstance = function() { return new WPGMZA.ProMapListPage(); } WPGMZA.ProMapListPage.prototype.onNewMap = function(event) { $(event.target).prop("disabled", "true"); WPGMZA.restAPI.call("/maps/", { method: "POST", data: { map_title: WPGMZA.localized_strings.new_map, map_start_lat: 36.778261, map_start_lng: -119.4179323999, map_start_zoom: 3 }, success: function(response, status, xhr) { window.location.href = window.location.href = "admin.php?page=wp-google-maps-menu&action=edit&map_id=" + response.id; } }); } WPGMZA.ProMapListPage.prototype.onWizard = function(event) { window.location.href = "admin.php?page=wp-google-maps-menu&action=wizard"; } });
[-] pro-scripts.json
[edit]
[-] pro-map-edit-page.js
[edit]
[+]
3rd-party-integration
[-] directions-renderer.js
[edit]
[-] modern-marker-listing-marker-view.js
[edit]
[-] wp-google-maps-pro.min.js
[edit]
[-] pro-drawing-manager.js
[edit]
[-] use-my-location-button.js
[edit]
[-] category-tree-node.js
[edit]
[-] wp-google-maps-pro.min.js.map
[edit]
[-] queue.js
[edit]
[-] pro-polygon.js
[edit]
[-] pro-marker-filter.js
[edit]
[-] modern-directions-box.js
[edit]
[-] category-picker.js
[edit]
[-] marker-gallery.js
[edit]
[-] admin-map-datatable.js
[edit]
[-] wp-google-maps-pro.combined.js
[edit]
[-] categories-page.js
[edit]
[-] category-tree.js
[edit]
[+]
open-layers
[-] marker-gallery-input.js
[edit]
[-] custom-field-filter-widget.js
[edit]
[+]
google-maps
[-] custom-field-filter-controller.js
[edit]
[-] pro-map-list-page.js
[edit]
[-] modern-marker-listing.js
[edit]
[-] pro-store-locator.js
[edit]
[-] pro-map.js
[edit]
[-] pro-latlng.js
[edit]
[-] pro-info-window.js
[edit]
[-] modern-directions-result-box.js
[edit]
[-] theme-editor.js
[edit]
[-] pro-address-input.js
[edit]
[-] directions-box.js
[edit]
[-] marker-icon.js
[edit]
[-] heatmap.js
[edit]
[+]
marker-listings
[-] directions-service.js
[edit]
[+]
..
[+]
map-edit-page
[-] marker-icon-picker.js
[edit]
[-] content-editor-map-button.js
[edit]
[-] pro-marker.js
[edit]
[-] advanced-page.js
[edit]
[-] marker-library-dialog.js
[edit]
[-] legacy-json-converter.js
[edit]