Title: Google Maps widget issue
Last modified: August 31, 2018

---

# Google Maps widget issue

 *  Resolved [d.chatzimanolis](https://wordpress.org/support/users/dchatzimanolis/)
 * (@dchatzimanolis)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/)
 * Hi,
 * After installing your plugin and setting the Google Maps API KEY, my map is appeared
   correctly at my contact page but not at the footer where I have inserted the 
   google map as a widget.
 * Why does this happen please?
 * Waiting for your advice.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgoogle-maps-widget-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10643368)
 * The map at the bottom of the page is not adding the JS file the correct way.
   
   You would be better using a static map there so you don’t have to load the Google
   API on every page load, try replacing that widget with this static map code: `
   <img width="275" src="https://maps.googleapis.com/maps/api/staticmap?center=37.779169,
   +26.892912&zoom=14&scale=1&size=275x220&maptype=roadmap&key=AIzaSyC4F2jctubCCH4IYNALGczTFXHnTGo2ggU&
   format=png&visual_refresh=true&markers=icon:http://melissa-samos.com/wp-content/
   uploads/2016/01/map-marker.png%7Cshadow:true%7C37.779169,+26.892912" alt="Google
   Map of 37.779169, 26.892912">`
 * Thanks,
 * Stiofan
 *  Thread Starter [d.chatzimanolis](https://wordpress.org/support/users/dchatzimanolis/)
 * (@dchatzimanolis)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10643387)
 * Hi,
 * Thank you for your instant reply.
 * I tried your code into a “multilingual text” widget but the map is not appeared
   correctly.
 * Please check my english home page now:
 * [http://melissa-samos.com/](http://melissa-samos.com/)
 * I get the following text:
 * “Google Map of 37.779169, 26.892912”.
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10643396)
 * I see this error “This API project is not authorized to use this API” You have
   to enable your google API project to allow “Static Maps” then it should work.
 * You can see the error here: `https://maps.googleapis.com/maps/api/staticmap?center
   =37.779169,+26.892912&zoom=14&scale=1&size=275x220&maptype=roadmap&key=AIzaSyC4F2jctubCCH4IYNALGczTFXHnTGo2ggU&
   format=png&visual_refresh=true&markers=icon:http://melissa-samos.com/wp-content/
   uploads/2016/01/map-marker.png%7Cshadow:true%7C37.779169,+26.892912`
 * Stiofan
 *  Thread Starter [d.chatzimanolis](https://wordpress.org/support/users/dchatzimanolis/)
 * (@dchatzimanolis)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10643508)
 * Could you please advice me where exactly can I enable my google API project to
   allow “Static Maps”?
 * At my key restrictions, I see that it is unrestricted. Is this maybe another 
   option somewhere?
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10643713)
 * Go here: [https://console.developers.google.com/flows/enableapi?apiid=static_maps_backend,street_view_image_backend,maps_embed_backend,places_backend,geocoding_backend,directions_backend,distance_matrix_backend,geolocation,elevation_backend,timezone_backend,maps_backend&keyType=CLIENT_SIDE&reusekey=true&pli=1](https://console.developers.google.com/flows/enableapi?apiid=static_maps_backend,street_view_image_backend,maps_embed_backend,places_backend,geocoding_backend,directions_backend,distance_matrix_backend,geolocation,elevation_backend,timezone_backend,maps_backend&keyType=CLIENT_SIDE&reusekey=true&pli=1)
 * Select your project at the top, then select the “Enable APIs and Services” then
   select Static maps api and enable. It can take 2-3 minutes before it will start
   working.
 * Stiofan
 *  Thread Starter [d.chatzimanolis](https://wordpress.org/support/users/dchatzimanolis/)
 * (@dchatzimanolis)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10644351)
 * After following your advice, I enabled static maps api as you recommended.
 * However the map keeps not loading at my footer’s 1st column.
 * I think that maybe something else causes the issue.
 * Could you please take a look again?
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10644395)
 * Yes i see i mistake with the API key, use this code in the widget
 * `<img width="275" src="https://maps.googleapis.com/maps/api/staticmap?center=
   37.779169,+26.892912&zoom=14&scale=1&size=275x220&maptype=roadmap&key=AIzaSyA2kFHT4XNW5WXsBDolYhDSuqKdSD9N_aw&
   format=png&visual_refresh=true&markers=icon:http://melissa-samos.com/wp-content/
   uploads/2016/01/map-marker.png%7Cshadow:true%7C37.779169,+26.892912" alt="Melissa
   Samos - Find us">`
 * Thanks,
 * Stiofan
 *  Thread Starter [d.chatzimanolis](https://wordpress.org/support/users/dchatzimanolis/)
 * (@dchatzimanolis)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10644514)
 * Thank you, your code worked correctly this time.
 * May I ask you please where do I find the above code for my projects (just to 
   have it in mind for my forthcoming projects)?
    -  This reply was modified 7 years, 9 months ago by [d.chatzimanolis](https://wordpress.org/support/users/dchatzimanolis/).
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10644631)
 * There are a few sites that help you build them: [https://staticmapmaker.com/google/](https://staticmapmaker.com/google/)
 * Have a good weekend 🙂

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Google Maps widget issue’ is closed to new replies.

 * ![](https://ps.w.org/api-key-for-google-maps/assets/icon-256x256.jpg?rev=1555469)
 * [API KEY for Google Maps](https://wordpress.org/plugins/api-key-for-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/api-key-for-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/api-key-for-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/api-key-for-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/api-key-for-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/api-key-for-google-maps/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/google-maps-widget-issue/#post-10644631)
 * Status: resolved