Aadi
Aadi

Reputation: 7109

How to add Google map with WordPress without using plugin

How can we add a Google map with WordPress.

Consider my coordinates

<longitude>17.549062233809</longitude>
<latitude>40.68792578497581</latitude>

Please can anybody give me an idea.

Thank you

Upvotes: 0

Views: 4091

Answers (3)

info olaf
info olaf

Reputation: 11

try the embedMap app, it's based on Leaflet & kml : https://www.owlapps.net/modules/owlapps_apps/embedmap

See that video demo : https://youtu.be/f66kO9sjPVE

Upvotes: 0

bluedaniel
bluedaniel

Reputation: 2109

If you just want a static map for those coordinates then you can type 40.687926,17.549062 into http://maps.google.com/ and get the map embed code, which is:

<iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=40.687926,17.549062&amp;aq=&amp;sll=37.0625,-95.677068&amp;sspn=36.231745,70.136719&amp;ie=UTF8&amp;ll=40.687173,17.550865&amp;spn=1.085161,2.191772&amp;z=9&amp;output=embed"></iframe>

Just copy and paste that anywhere in your blog.

Otherwise use the other suggestion.

Upvotes: 1

Argiropoulos Stavros
Argiropoulos Stavros

Reputation: 9533

Embed a map using google maps api for javascript and assuming you give the coordinates because you want to place a marker check here

Upvotes: 0

Related Questions