Solved

Embed Google Maps API - searching by Latitude and Longitude, which displays in resulting map, whereas I want location title

Posted on 2016-09-18
2
112 Views
Last Modified: 2016-09-20
Hello all,

Due unlimited usage with no charges, I'm using Googles, Embed Google Maps API. For the precise location I'm after, Im using Latitude and Longitude search - which works fine, with the top left info box displaying 51°30'26.5"N 0°07'39.9"W - is there any way I can replace this with my own text?

<iframe
  width="450"
  height="250"
  frameborder="0" style="border:0"
  src="https://www.google.com/maps/embed/v1/search?key=???????&q=51.5073509,-0.1277583" allowfullscreen>
</iframe>

Open in new window


Many thanks

Regards

Jamie
GoogleMaps.png
0
Comment
Question by:Jamie
2 Comments
 
LVL 43

Accepted Solution

by:
zephyr_hex (Megan) earned 500 total points
ID: 41805014
This is not possible with the embedded map.  See here for a list of options available with the embedded map.

You have more control over adding text to markers, etc using the Google Maps JavaScript API.
1
 

Author Closing Comment

by:Jamie
ID: 41807180
Hello zephyr_hex,

Many thanks for your reply, this confirms my understanding. As you suggest, I'll give  Google Maps javascript API a try

Regards

Jamie
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This Micro Tutorial will demonstrate without sampling how to find out top organic landing pages. The hack gets around the standard way to find the pages in Google Analytics results in sampling for larger sites.
This Micro Tutorial demonstrates how to quickly find related content for YourTango's posts using MozBar Chrome extension.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question