Help - Search - Members - Calendar
Full Version: Google map location
HTMLHelp Forums > Web Authoring > General Web Design
Pitz37
Hi all, I'm editing a template and changed the following bit of code in in red in the contact.html page. I changed the coordinates from the old to my current ones. The map has now gone blank for some reason. Am I missing something?

<div id="content" class="">
<section>
<div class="block_map_1 js_map" data-marker="layout/images/map_marker_1.png" data-map-color="#71be3c" data-map-saturation="-250" data-longitude="-5.050385" data-latitude="50.419952"></div>
</section>
pandy
Shouldn't there be an URL to the map somewhere?
Pitz37
This is all thats in the file ref the map, searched other .js files, none. The weird thing is when the original coordinates are in place the map displays fine, when I change to my coordinates correct to the same dec point etc, it greys out.
Pitz37
QUOTE(pandy @ Dec 12 2016, 07:24 AM) *

Shouldn't there be an URL to the map somewhere?


This is all thats in the file ref the map, searched other .js files, none. The weird thing is when the original coordinates are in place the map displays fine, when I change to my coordinates correct to the same dec point etc, it greys out.
pandy
Are you sure the map disappears? It doesn't just turn all blue? Because those coordinates seems to lead to a point in the sea between Kenya's coast and the Seychelles.

https://www.google.com/maps/place/5%C2%B003...4,50.3682712,8z

I don't know, but there must be more to it than that DIV.
Pitz37
QUOTE(pandy @ Dec 12 2016, 08:06 AM) *

Are you sure the map disappears? It doesn't just turn all blue? Because those coordinates seems to lead to a point in the sea between Kenya's coast and the Seychelles.

https://www.google.com/maps/place/5%C2%B003...4,50.3682712,8z

I don't know, but there must be more to it than that DIV.


You're right, just zoomed out and its near the seychelles somewhere. The lat and long are incorrectly labelled in the div, just switched the two around and working perfectly.

Thanks man, really appreciate the help smile.gif
pandy
It really was that? biggrin.gif
pandy
Heck, I had to check. You live where I want to go on holiday! biggrin.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.