{"id":32107,"date":"2014-10-04T05:28:35","date_gmt":"2014-10-04T05:28:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/ank-google-map\/"},"modified":"2021-02-16T07:02:27","modified_gmt":"2021-02-16T07:02:27","slug":"ank-google-map","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/ank-google-map\/","author":17134163,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"2.7.0","stable_tag":"trunk","tested":"5.6.17","requires":"5.0.0","requires_php":"5.6","requires_plugins":"","header_name":"Google Map","header_author":"Ankur Kumar","header_description":"","assets_banners_color":"8acfc0","last_updated":"2021-02-16 07:02:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/ankurk91\/wp-google-map","header_author_uri":"https:\/\/ankurk91.github.io\/","rating":5,"author_block_rating":0,"active_installs":3000,"downloads":84440,"num_ratings":0,"support_threads":1,"support_threads_resolved":1,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.5":{"tag":"1.5","author":"ank91","date":"2014-10-04 10:48:40"},"1.5.1":{"tag":"1.5.1","author":"ank91","date":"2014-10-04 17:02:07"},"1.5.2":{"tag":"1.5.2","author":"ank91","date":"2014-10-12 05:25:59"},"1.5.3":{"tag":"1.5.3","author":"ank91","date":"2014-10-13 15:38:17"},"1.5.4":{"tag":"1.5.4","author":"ank91","date":"2014-10-27 08:17:56"},"1.5.5":{"tag":"1.5.5","author":"ank91","date":"2014-10-29 06:53:06"},"1.5.6":{"tag":"1.5.6","author":"ank91","date":"2014-11-09 11:38:31"},"1.5.7":{"tag":"1.5.7","author":"ank91","date":"2014-12-02 06:16:45"},"1.5.8":{"tag":"1.5.8","author":"ank91","date":"2014-12-23 05:52:03"},"1.5.9":{"tag":"1.5.9","author":"ank91","date":"2015-05-10 04:50:51"},"1.6.0":{"tag":"1.6.0","author":"ank91","date":"2015-05-24 03:38:51"},"1.6.1":{"tag":"1.6.1","author":"ank91","date":"2015-06-14 13:12:24"},"1.6.2":{"tag":"1.6.2","author":"ank91","date":"2015-10-19 10:52:14"},"1.6.3":{"tag":"1.6.3","author":"ank91","date":"2015-10-19 11:05:04"},"1.7.0":{"tag":"1.7.0","author":"ank91","date":"2015-11-18 10:54:54"},"1.7.1":{"tag":"1.7.1","author":"ank91","date":"2015-11-18 11:54:29"},"1.7.2":{"tag":"1.7.2","author":"ank91","date":"2015-11-19 10:28:10"},"1.7.3":{"tag":"1.7.3","author":"ank91","date":"2015-12-03 09:01:58"},"1.7.4":{"tag":"1.7.4","author":"ank91","date":"2015-12-12 08:45:15"},"1.7.5":{"tag":"1.7.5","author":"ank91","date":"2016-03-09 07:11:26"},"1.7.6":{"tag":"1.7.6","author":"ank91","date":"2016-05-03 09:56:38"},"1.7.7":{"tag":"1.7.7","author":"ank91","date":"2016-05-05 04:50:57"},"1.7.8":{"tag":"1.7.8","author":"ank91","date":"2016-07-27 04:40:28"},"1.7.9":{"tag":"1.7.9","author":"ankurk91","date":"2016-08-16 10:18:31"},"2.0.0":{"tag":"2.0.0","author":"ankurk91","date":"2016-09-14 13:12:32"},"2.1.0":{"tag":"2.1.0","author":"ankurk91","date":"2016-09-23 07:06:20"},"2.2.0":{"tag":"2.2.0","author":"ankurk91","date":"2016-09-27 04:56:22"},"2.3.0":{"tag":"2.3.0","author":"ankurk91","date":"2016-10-17 06:23:00"},"2.3.1":{"tag":"2.3.1","author":"ankurk91","date":"2016-12-07 06:58:19"},"2.4.0":{"tag":"2.4.0","author":"ankurk91","date":"2017-02-21 13:19:54"},"2.5.0":{"tag":"2.5.0","author":"ankurk91","date":"2017-03-03 07:36:37"},"2.6.0":{"tag":"2.6.0","author":"ankurk91","date":"2017-06-14 11:28:38"},"2.6.1":{"tag":"2.6.1","author":"ankurk91","date":"2017-11-16 12:38:09"},"2.6.2":{"tag":"2.6.2","author":"ankurk91","date":"2017-11-20 04:43:13"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"20"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":1001675,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":1006278,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.5.5","1.5.6","1.5.7","1.5.8","1.5.9","1.6.0","1.6.1","1.6.2","1.6.3","1.7.0","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.7.8","1.7.9","2.0.0","2.1.0","2.2.0","2.3.0","2.3.1","2.4.0","2.5.0","2.6.0","2.6.1","2.6.2"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":1500825,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":1500825,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":1500825,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":1482479,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"General Options","2":"Location Options","3":"Marker Options","4":"Info Window Options"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5326,7523,2909,606],"plugin_category":[49],"plugin_contributors":[81229],"plugin_business_model":[],"class_list":["post-32107","plugin","type-plugin","status-closed","hentry","plugin_tags-google-map","plugin_tags-light-weight","plugin_tags-map","plugin_tags-responsive","plugin_category-maps-and-location","plugin_contributors-ankurk91","plugin_committers-ankurk91","plugin_committers-creativemotion","plugin_committers-webtemyk"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/ank-google-map_8acfc0.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/ank-google-map\/assets\/screenshot-1.png?rev=1500825","caption":"General Options"},{"src":"https:\/\/ps.w.org\/ank-google-map\/assets\/screenshot-2.png?rev=1500825","caption":"Location Options"},{"src":"https:\/\/ps.w.org\/ank-google-map\/assets\/screenshot-3.png?rev=1500825","caption":"Marker Options"},{"src":"https:\/\/ps.w.org\/ank-google-map\/assets\/screenshot-4.png?rev=1482479","caption":"Info Window Options"}],"raw_content":"<!--section=description-->\n<p>Simple, light-weight and non-bloated Google Map Plugin for WordPress.<\/p>\n\n<h4>Highlights<\/h4>\n\n<ul>\n<li>Add Google Map API key<\/li>\n<li>Adjust map canvas height and width<\/li>\n<li>Responsive map, auto center map upon resize<\/li>\n<li>Configure map canvas border color<\/li>\n<li>Disable\/Enable map controls<\/li>\n<li>Find your location by typing address (Auto complete)<\/li>\n<li>Change map's language eg: Hindi<\/li>\n<li>Place animated and colorful marker on map<\/li>\n<li>Place info window on marker with custom text\/markup.<\/li>\n<li>Disable dragging on mobile devices \/ touch enabled devices<\/li>\n<li>Disable mouse wheel zoom<\/li>\n<li>Map Style - eg: Grayscale<\/li>\n<li>Custom marker icon\/image file<\/li>\n<li>Cooperative Gesture Handling (Two fingers zoom on mobile devices)<\/li>\n<\/ul>\n\n<h3>Arbitrary section<\/h3>\n\n<p>Nothing in this section, Read FAQ.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20is%20the%20short-code%20for%20this%20plugin'><h3>What is the short-code for this plugin<\/h3><\/dt>\n<dd><p>[ank_google_map]<\/p><\/dd>\n<dt id='map%20controls%20not%20shown%20correctly%20on%20front-end.'><h3>Map controls not shown correctly on front-end.<\/h3><\/dt>\n<dd><p>Add this css code to your theme's style.css file to fix this<\/p>\n\n<pre><code>.gmnoprint img, #agm-canvas img { max-width: none; }\n<\/code><\/pre><\/dd>\n<dt id='changes%20does%20not%20reflect%20after%20saving%20settings.'><h3>Changes does not reflect after saving settings.<\/h3><\/dt>\n<dd><p>Are you using some Cache\/Performance plugin (eg:WP Super Cache\/W3 Total Cache) ?\nThen flush your WP cache and refresh target page.<\/p><\/dd>\n<dt id='from%20where%20does%20it%20loads%20additional%20marker%20%28colored%29%20images%3F'><h3>From where does it loads additional Marker (colored) images?<\/h3><\/dt>\n<dd><p>Every marker image is loaded from official Google Server.\nYou can also upload your own marker images.<\/p><\/dd>\n<dt id='how%20do%20i%20enter%20correct%20language%20code%3F'><h3>How do i enter correct language code?<\/h3><\/dt>\n<dd><p>You can force google to load a specific language for all visitors.<br \/>\nGet latest supported language code list from <a href=\"https:\/\/developers.google.com\/maps\/faq#languagesupport\">here<\/a>.\nIf you don't specify language code then google will try to load the language requested by visitor's web browser.<\/p><\/dd>\n<dt id='how%20to%20make%20it%20responsive%3F'><h3>How to make it responsive?<\/h3><\/dt>\n<dd><p>Set Map Canvas Width to 100 %. Map will auto center upon resize.<\/p><\/dd>\n<dt id='failed%20to%20load%20google%20map.%20refresh%20this%20page%20and%20try%20again.%20what%20is%20this%20%3F'><h3>Failed to load Google Map. Refresh this page and try again. What is this ?<\/h3><\/dt>\n<dd><p>It means 'Google Map API' is not loaded.<\/p>\n\n<p>Possible reasons are -<\/p>\n\n<ul>\n<li>No internet connection. (Internet is must).<\/li>\n<li>Other plugin's java script conflict. (Try disabling them one by one).<\/li>\n<li>This plugin has a problem\/bug. (Report it now).<\/li>\n<\/ul><\/dd>\n<dt id='how%20do%20i%20insert%20the%20api%20key%3F'><h3>How do i insert the API key?<\/h3><\/dt>\n<dd><ul>\n<li>Obtain a browser key, see steps <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/get-api-key#get-an-api-key\">here<\/a><\/li>\n<li>Insert your key on option page and you are good to go<\/li>\n<li>It may take upto 15 minutes for API key to work upon installation<\/li>\n<\/ul><\/dd>\n<dt id='future%20plans%3F'><h3>Future Plans?<\/h3><\/dt>\n<dd><ul>\n<li>Multiple Maps with Multiple Markers.<\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.7.0<\/h4>\n\n<ul>\n<li>Tested on php 7.4 and WordPress 5.6<\/li>\n<li>Requires php 5.6+<\/li>\n<\/ul>\n\n<h4>2.6.2<\/h4>\n\n<ul>\n<li>Fix: php v5.3 related <a href=\"https:\/\/stackoverflow.com\/questions\/16358973\/parse-error-syntax-error-unexpected-with-php-5-3\">issue<\/a><\/li>\n<\/ul>\n\n<h4>2.6.1<\/h4>\n\n<ul>\n<li>Compatible with WP v4.9.0<\/li>\n<li>Update: Google Map API v3.29<\/li>\n<\/ul>\n\n<h4>2.6.0<\/h4>\n\n<ul>\n<li>Compatible with WP v4.8.0<\/li>\n<li>Update: Google Map API v3.28<\/li>\n<li>Remove: <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapOptions\">draggable<\/a> option<\/li>\n<\/ul>\n\n<h4>2.5.0<\/h4>\n\n<ul>\n<li>Add: Expose Google Map object to <code>window<\/code>, <a href=\"https:\/\/github.com\/ankurk91\/wp-google-map\/wiki\/Hook-into-JS\">read<\/a><\/li>\n<li>Add: Expose two actions before and after shortcode, <a href=\"https:\/\/github.com\/ankurk91\/wp-google-map\/wiki\/Before-and-After-shortcode-actions\">read<\/a><\/li>\n<\/ul>\n\n<h4>2.4.0<\/h4>\n\n<ul>\n<li>Add: <a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/interaction#gesture-handling\">Gesture Handling<\/a><\/li>\n<li>Update: Bump Google Map API version to 3.27 stable<\/li>\n<\/ul>\n\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Add: Add a filter to style.json content array, see class-util.php or <a href=\"https:\/\/github.com\/ankurk91\/wp-google-map\/wiki\/How-to-add-your-own-styles\">see<\/a><\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Fix: Parse error: syntax error,unexpected '[' with php 5.3<\/li>\n<li>Fix: Marker image visibility on Safari<\/li>\n<li>Add: Select marker image from Media Library<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Add: FullScreen Control<\/li>\n<li>Fix: Undefined index warnings on updates<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Allow styling map by using some predefined styles from <a href=\"https:\/\/snazzymaps.com\/\">snazzymaps<\/a><\/li>\n<li>Allow custom marker icon image file<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Revamp UI<\/li>\n<li>Translation ready<\/li>\n<\/ul>\n\n<h4>1.7.9<\/h4>\n\n<ul>\n<li>Updated Links<\/li>\n<li>Namespace changed<\/li>\n<\/ul>\n\n<h4>1.7.8<\/h4>\n\n<ul>\n<li>Option to add API key<\/li>\n<\/ul>\n\n<h4>1.7.7<\/h4>\n\n<ul>\n<li>Tested upto WP Version 4.5.1<\/li>\n<li>Better touch device detection<\/li>\n<li>Google Map no longer supports IE 9<\/li>\n<\/ul>\n\n<h4>1.7.6<\/h4>\n\n<ul>\n<li>Allow developers to add API key to google map (see FAQ)<\/li>\n<li>Bump Google Map API version to 3.24<\/li>\n<li>Fixed a bug in InfoWindow text<\/li>\n<\/ul>\n\n<h4>1.7.4<\/h4>\n\n<ul>\n<li>Minor bug fixes<\/li>\n<\/ul>\n\n<h4>1.7.3<\/h4>\n\n<ul>\n<li>Minor bug fixes<\/li>\n<li>Tested upto WordPress v4.4.0<\/li>\n<\/ul>\n\n<h4>1.7.2<\/h4>\n\n<ul>\n<li>More adjustment due to recent changes, remove unused code<\/li>\n<li>Using WP inbuilt Settings API to handle form data<\/li>\n<li>Updated to Google Map API v3.22, read more <a href=\"https:\/\/developers.google.com\/maps\/articles\/v322-controls-diff\">here<\/a><\/li>\n<li>Removed options : Pan control, Overview Map control<\/li>\n<\/ul>\n\n<h4>1.7.1<\/h4>\n\n<ul>\n<li>Fix drag on mobile option stopped working<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Minimum php requirement : version 5.3.0<\/li>\n<li>Removed top screen options, always load text editor<\/li>\n<li>Removed bloated code, speed improvement<\/li>\n<\/ul>\n\n<h4>1.6.3<\/h4>\n\n<ul>\n<li>Fix Option page not working due to wrong js url<\/li>\n<\/ul>\n\n<h4>1.6.2<\/h4>\n\n<ul>\n<li>Tested upto WordPress 4.3.1<\/li>\n<li>Fix links and updated docs<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Disable drag on mobile<\/li>\n<li>Disable Mouse wheel zoom<\/li>\n<\/ul>\n\n<h4>1.6.0<\/h4>\n\n<ul>\n<li>Tested upto wp v4.2.2<\/li>\n<li>Minor adjustments<\/li>\n<\/ul>\n\n<h4>1.5.9<\/h4>\n\n<ul>\n<li>Execution Speed Improvements<\/li>\n<\/ul>\n\n<h4>1.5.8<\/h4>\n\n<ul>\n<li>Tested upto WP v4.1<\/li>\n<li>Enqueue the minified version of js file to option page.<\/li>\n<li>Miner fixes<\/li>\n<\/ul>\n\n<h4>1.5.7<\/h4>\n\n<ul>\n<li>Option page has it own separate class  (easy to manage code)<\/li>\n<li>Few More Improvements<\/li>\n<\/ul>\n\n<h4>1.5.6<\/h4>\n\n<ul>\n<li>Add Plugin version to database for future use.<\/li>\n<li>Java Script Localization for options page.<\/li>\n<li>Store options page JS code to a separate file. (allow browsers to cache this file)<\/li>\n<li>Now we enqueue our main JS file on target page. (allow browsers to cache this file)<\/li>\n<li>JS priority parameter has been removed from short-code.<\/li>\n<li>Code optimization and many other improvements.<\/li>\n<\/ul>\n\n<h4>1.5.5<\/h4>\n\n<ul>\n<li>Bug Fix - Screen options were not saving settings<\/li>\n<\/ul>\n\n<h4>1.5.4<\/h4>\n\n<ul>\n<li>Using WP inbuilt text editor to edit info window text.<\/li>\n<li>Increase Info Window Text length to 1000 chars<\/li>\n<li>Added Screen Option, let user disable text editor<\/li>\n<li>Load Map's js after other js code. Map's js has lowest (100) priority by default.\nUser can disable this behaviour. Read FAQ for more.<\/li>\n<li>Options Page Slug Changed<\/li>\n<\/ul>\n\n<h4>1.5.3<\/h4>\n\n<ul>\n<li>Bug fix - link to 'readme.txt' was causing malfunction on plugin list page.<\/li>\n<li>Few more adjustments<\/li>\n<\/ul>\n\n<h4>1.5.2<\/h4>\n\n<ul>\n<li>Option page re-styled.<\/li>\n<li>Added Help Menu on top of option page.<\/li>\n<li>Removed Map Height Unit Option, Height will be in px always.<\/li>\n<li>Bug fix in marker color option.<\/li>\n<li>Options to disable css-fixes. (Read FAQ).<\/li>\n<\/ul>\n\n<h4>1.5.1<\/h4>\n\n<ul>\n<li>Prevent form submission when user press Enter in auto complete<\/li>\n<li>Screenshot moved to assets, reduce package size<\/li>\n<li>More FAQ<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>First release on WordPress Plugin Directory<\/li>\n<li>Add Search by Address (Auto complete)<\/li>\n<li>Add Marker Color option<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Fix controls appears incorrectly in certain conditions (css fixes)<\/li>\n<li>Code clean up<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Added notes about flushing cache<\/li>\n<li>Load Color API only on Option page<\/li>\n<li>Special checks for Color API<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fix Bugs<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fix Bugs<\/li>\n<li>Sanitize Inputs<\/li>\n<li>Allow HTML in info window<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First public beta<\/li>\n<\/ul>","raw_excerpt":"Simple, light-weight and non-bloated WordPress Google Map Plugin.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32107","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32107"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/creativemotion"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32107"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32107"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32107"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32107"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32107"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32107"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}