Welcome to the new home of the Cumulus Support forum.

Latest Cumulus release v1.9.4 (build 1099) - Nov 28 2014
Latest Cumulus MX release - v3.0.0 build 3044 7 December 2018. See the Wiki for download

Google map message on website

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

Moderator: daj

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

Re: Google map message on website

Post by mcrossley » Wed 22 Aug 2018 4:43 pm

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

RayProudfoot
Posts: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Wed 22 Aug 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: 1484
Joined: Sat 13 Aug 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

Post by water01 » Wed 22 Aug 2018 9:23 pm

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

User avatar
Mapantz
Posts: 525
Joined: Sat 17 Dec 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

Post by Mapantz » Wed 22 Aug 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: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Wed 22 Aug 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: 525
Joined: Sat 17 Dec 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

Post by Mapantz » Wed 22 Aug 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: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Wed 22 Aug 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: 1484
Joined: Sat 13 Aug 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

Post by water01 » Thu 23 Aug 2018 12:40 am

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

Image

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

Re: Google map message on website

Post by ExperiMentor » Thu 23 Aug 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: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Thu 23 Aug 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: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Thu 23 Aug 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: 26714
Joined: Mon 02 Jun 2008 6:49 pm
Weather Station: None
Operating System: None
Location: Vienne, France
Contact:

Re: Google map message on website

Post by steve » Thu 23 Aug 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

RayProudfoot
Posts: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Thu 23 Aug 2018 9:18 am

Thanks Steve! :)
Cheers,
Ray, Cheshire.

Image

User avatar
PaulMy
Posts: 1728
Joined: Sun 28 Sep 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

Post by PaulMy » Thu 23 Aug 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: 2632
Joined: Wed 06 May 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

Post by RayProudfoot » Thu 23 Aug 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

Post Reply