The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Google map location, Changed coordinates and map is now blank
Pitz37
post 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>
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 12 2016, 07:24 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,582
Joined: 9-August 06
Member No.: 6



Shouldn't there be an URL to the map somewhere?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Pitz37
post 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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Pitz37
post Dec 12 2016, 08:00 AM
Post #4


Newbie
*

Group: Members
Posts: 15
Joined: 12-December 16
Member No.: 24,960



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 12 2016, 08:06 AM
Post #5


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,582
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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Pitz37
post Dec 12 2016, 08:19 AM
Post #6


Newbie
*

Group: Members
Posts: 15
Joined: 12-December 16
Member No.: 24,960



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 12 2016, 11:30 AM
Post #7


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,582
Joined: 9-August 06
Member No.: 6



It really was that? biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 12 2016, 01:04 PM
Post #8


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,582
Joined: 9-August 06
Member No.: 6



Heck, I had to check. You live where I want to go on holiday! biggrin.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th May 2017 - 08:33 PM