Google map location, Changed coordinates and map is now blank |
Google map location, Changed coordinates and map is now blank |
Pitz37 |
Dec 12 2016, 05:14 AM
Post
#1
|
Newbie Group: Members Posts: 15 Joined: 12-December 16 Member No.: 24,960 |
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 |
Dec 12 2016, 07:24 AM
Post
#2
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Shouldn't there be an URL to the map somewhere?
|
Pitz37 |
Dec 12 2016, 07:59 AM
Post
#3
|
Newbie Group: Members Posts: 15 Joined: 12-December 16 Member No.: 24,960 |
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 |
Dec 12 2016, 08:00 AM
Post
#4
|
Newbie Group: Members Posts: 15 Joined: 12-December 16 Member No.: 24,960 |
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 |
Dec 12 2016, 08:06 AM
Post
#5
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
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 |
Dec 12 2016, 08:19 AM
Post
#6
|
Newbie Group: Members Posts: 15 Joined: 12-December 16 Member No.: 24,960 |
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 |
pandy |
Dec 12 2016, 11:30 AM
Post
#7
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
It really was that?
|
pandy |
Dec 12 2016, 01:04 PM
Post
#8
|
🌟Computer says no🌟 Group: WDG Moderators Posts: 20,730 Joined: 9-August 06 Member No.: 6 |
Heck, I had to check. You live where I want to go on holiday!
|
Lo-Fi Version | Time is now: 25th April 2024 - 10:18 PM |