IMPORTANT! The server may go down soon - possibly permanently. Please read the latest post in Announcements and News

Please read the posts in the Announcements section about the current status of Cumulus development now that I have retired

Please read this post before posting

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3043 Jan 20 2017. See this post for download

Google map message on website

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderators: daj, TNETWeather

User avatar
mcrossley
Posts: 5194
Joined: Thu Jan 07, 2010 9:44 pm
Weather Station: Davis VP2
Operating System: Stretch Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Google map message on website

Postby mcrossley » Wed Aug 22, 2018 4:43 pm

Oh dear, 'fraid you'll have to do some investigating on that one Ray.

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Wed Aug 22, 2018 4:57 pm

mcrossley wrote:Oh dear, 'fraid you'll have to do some investigating on that one Ray.

No need now Mark, thanks. I found another source.
Cheers,
Ray, Cheshire.

Image

water01
Posts: 1465
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Google map message on website

Postby water01 » Wed Aug 22, 2018 9:23 pm

Well according to the map you live in Singapore!! :D

User avatar
Mapantz
Posts: 493
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Google map message on website

Postby Mapantz » Wed Aug 22, 2018 9:33 pm

It shows up a marker in Parkstone, near Bournemouth. That's only 10 miles from me. :lol:
Image
Image

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Wed Aug 22, 2018 9:46 pm

water01 wrote:Well according to the map you live in Singapore!! :D


Can you attach a screenshot please? It shows my precise location here.
Cheers,
Ray, Cheshire.

Image

User avatar
Mapantz
Posts: 493
Joined: Sat Dec 17, 2011 11:55 am
Weather Station: Davis Vantage Pro2
Operating System: Windows 10 x64 - A beast.
Location: Wareham, Dorset - UK
Contact:

Re: Google map message on website

Postby Mapantz » Wed Aug 22, 2018 9:54 pm

2018-08-22.png
You do not have the required permissions to view the files attached to this post.
Image
Image

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Wed Aug 22, 2018 10:20 pm

Thanks Mapantz. On the advice of Steve I removed a web address from the supplied code that didn’t appear relevant. I’ll restore it tomorrow and see if it makes a difference.

I’ve never seen that before. Crazy!
Cheers,
Ray, Cheshire.

Image

water01
Posts: 1465
Joined: Sat Aug 13, 2011 9:33 am
Weather Station: WH1081
Operating System: Windows 7 64bit HP SP1
Location: Somewhere in the USA
Contact:

Re: Google map message on website

Postby water01 » Thu Aug 23, 2018 12:40 am

Here you go Ray. I am looking at your site from the USA.

Image

ExperiMentor
Posts: 45
Joined: Tue Nov 24, 2015 11:30 pm
Weather Station: Fine Offset
Operating System: Windows 7; Linux
Location: Switzerland

Re: Google map message on website

Postby ExperiMentor » Thu Aug 23, 2018 5:15 am

It's not working that well, Ray!
Your site is showing whatever XXX Woking Road is closest to the viewer (Google knows everything ....)!
You should be able to switch it to a postcode without ill effect (and also hiding the address at which we know there's a weather station in the garden ...).
Try changing the relevant bit of code to be q=SK8%206NZ (the %20 in the middle is the code for a space character)

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Thu Aug 23, 2018 8:08 am

Hi Gents,

Experimentor, I agree it's choosing the nearest Woking Road to the viewer's location. I removed the house number for obvious reasons. I'll revert to the Post Code and thanks for the code.

David, thanks for the screenshot. Any viewer looking at my temps and associating them with Singapore would be very confused. :D
Cheers,
Ray, Cheshire.

Image

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Thu Aug 23, 2018 8:37 am

I've changed the code so would appreciate comments from users as to whether it's fixed the problem. If there's a Post Code of SK8 6NZ in Ulan Bator I'm stuffed! :lol:
Cheers,
Ray, Cheshire.

Image

User avatar
steve
Cumulus Author
Posts: 26681
Joined: Mon Jun 02, 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Google map message on website

Postby steve » Thu Aug 23, 2018 9:10 am

Looks good from here. I noticed it was pointing to the wrong place (for me) before but didn't say anything as I thought you were still testing before putting in your actual location!
Steve
-----
Hosting available for Cumulus web sites. See http://sandaysoft.com/forum/viewtopic.php?f=2&t=11876

Please read the posts in the Announcements section about the current status of Cumulus development since I have retired from my day job

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Thu Aug 23, 2018 9:18 am

Thanks Steve! :)
Cheers,
Ray, Cheshire.

Image

User avatar
PaulMy
Posts: 1676
Joined: Sun Sep 28, 2008 11:54 pm
Weather Station: Davis Vantage Pro 2 w/Envoy USB
Operating System: Windows-8
Location: Komoka, ON Canada
Contact:

Re: Google map message on website

Postby PaulMy » Thu Aug 23, 2018 12:49 pm

Ray, the map shows SK8 6NZ and pointer is between Cheadle Hulme, Bramhall, Handforth, and Heald Green and presume that black sedan is yours ;)

And for whatever reason your your Cumulus recording days can't seem to catch up to mine :P

Enjoy,
Paul

RayProudfoot
Posts: 2562
Joined: Wed May 06, 2009 6:29 pm
Weather Station: Davis VP2 with Daytime FARS
Operating System: Windows XP SP3
Location: Cheadle Hulme, Cheshire, England
Contact:

Re: Google map message on website

Postby RayProudfoot » Thu Aug 23, 2018 1:01 pm

Thanks for confirming my location is now okay Paul. :) What's a sedan? Only kidding. I guess you mean a saloon. Mine's in the garage - Honda Civic, damn fine motor!

I won't catch you up with the recording days but you can only dream of a January day where the lowest maximum is -1.1C. Do you bother running your freezers over there in the winter? :D
Cheers,
Ray, Cheshire.

Image


Return to “Web site - General”

Who is online

Users browsing this forum: No registered users and 5 guests