Google maps not loading properly on CLOG pages

A historical forum for issues reported in the suggestions and bugs forum that have been subsequently fixed or resolved.
Post Reply
User avatar
bekateen
Posts: 9325
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 141
My cats species list: 145 (i:105, k:35)
My aquaria list: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Google maps not loading properly on CLOG pages

Post by bekateen »

Hi Jools,

I was just looking at the occurrence maps for a few species and I'm getting an error saying that the maps are not displaying properly.

I tested this on 2 or 3 spp. of Dekeyseria and again on some other plecos. Here's an example (pic).

Cheers, Eric
Attachments
map.png
Image
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order.
Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
User avatar
Jools
Expert
Posts: 16138
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Google maps not loading properly on CLOG pages

Post by Jools »

Meh. Well, thankfully I had some time at the computer tonight. Good news, it's now all fixed. Bad news, I have to pay google for using maps at scale. They give me $200 worth of free usage a month and if we go past that, I pay.

So, some programming, security config (stop other sites using my keys / $) and a credit card registration with google later we have lift off.

Cheers,

Jools
PS This has also made me change a thing I've been meaning to change for years which is to make the maps automatically appear. Ironically, this might be backed out if I start getting a new monthly bill!
User avatar
bekateen
Posts: 9325
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 141
My cats species list: 145 (i:105, k:35)
My aquaria list: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Google maps not loading properly on CLOG pages

Post by bekateen »

Hi Jools,

Google Maps is doing this thing again, saying it's "for development purposes only" and shadowed out. Seems like we hit our monthly quota. ^#(^

Cheers, Eric
Image
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order.
Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
jeremybasch
Posts: 109
Joined: 07 Mar 2012, 07:02
My images: 14
Spotted: 5
Location 1: http://amazontropics.com
Location 2: Columbus OH USA
Interests: All catfish
Contact:

Re: Google maps not loading properly on CLOG pages

Post by jeremybasch »

I also experienced this same issue. I have been doing some research planning for next year's trip to Colombia when I noticed this.
User avatar
Jools
Expert
Posts: 16138
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Google maps not loading properly on CLOG pages

Post by Jools »

Yeah, it's maxed out the quota. I'm looking into it.

Jools
User avatar
Jools
Expert
Posts: 16138
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Google maps not loading properly on CLOG pages

Post by Jools »

We will have to figure out how this works. I think google "gives" me $200 per month in credit. Maps cost $7.00 USD per 1000, we use about 5000 a day...

So, I might need to go back to the old click to see the map design. Unless I can figure out how to cache maps or similar.

Boo.

Jools
User avatar
Jools
Expert
Posts: 16138
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Google maps not loading properly on CLOG pages

Post by Jools »

OK, so what I've done is make it only show the map if you're logged in. This will reduce usage and I'll catch the £12/day until the end of the month to see how usage pans out.

Jools
User avatar
bekateen
Posts: 9325
Joined: 09 Sep 2014, 17:50
I've donated: $40.00!
My articles: 4
My images: 141
My cats species list: 145 (i:105, k:35)
My aquaria list: 37 (i:14)
My BLogs: 45 (i:150, p:2729)
My Wishlist: 35
Spotted: 183
Location 1: USA, California, Stockton
Location 2: USA, California, Stockton
Contact:

Re: Google maps not loading properly on CLOG pages

Post by bekateen »

Jools wrote: 24 Oct 2018, 21:37OK, so what I've done is make it only show the map if you're logged in. This will reduce usage and I'll catch the £12/day until the end of the month to see how usage pans out.
Thanks Jools.

For what it's worth, personally, I never minded clicking the button to expand the map. One positive effect was that the hidden map kept the screen size in control (reduced) for me when viewing on my phone (which I do a lot). I like it either way, but if it's so costly, I wouldn't be hurt if you reset the map to be revealed by clicking on icon as it was for years.

That's my 2 cents anyway - I'll take it as is or as was. But 2 cents doesn't go very far towards £12 :)) so of course, please do as you see fit. ;-)

Cheers, Eric
Image
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order.
Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
User avatar
Jools
Expert
Posts: 16138
Joined: 30 Dec 2002, 15:25
My articles: 198
My images: 948
My catfish: 237
My cats species list: 87 (i:237, k:1)
My BLogs: 7 (i:10, p:202)
My Wishlist: 23
Spotted: 450
Location 1: Middle Earth,
Location 2: Scotland
Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
Contact:

Re: Google maps not loading properly on CLOG pages

Post by Jools »

Ha, very good! So, what's in my mind is that when I re-design the page to be more responsive (work better on small screens like phones) then the map will be a click to view. 50% of site traffic is from such screens. That's quite low generally, but Planet has atypical users. :-)

Seems to have reduced usage to within what google provides for free, so looks good so far...

Cheers,

Jools
Post Reply

Return to “All Resolved Issues”