Forum Index > Trail Talk > Policy change at Google likely means the end of Gmap4
Previous :: Next Topic  
Author Message
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2136 | TRs
Location: Redmond
Joey
  Top

verrry senior member
PostTue May 15, 2018 4:38 pm 
Reply to topic Reply with quote
Thanks for the kind words everyone.

Still waiting to hear back from Google on my request for a larger allocation of free API downloads based on the disaster maps (wildland fire, etc) I produce and other public service mapping that Gmap4 can do (mainly political districts and the (beta) GIS surfing feature.
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
patrickb87
hello internet



Joined: 07 Feb 2013
Posts: 75 | TRs
Location: Tacoma
patrickb87
  Top

hello internet
PostTue May 15, 2018 4:57 pm 
Reply to topic Reply with quote
Yikes, I would hate to see GMAP4 go.. Its been a hugely helpful resource. YUGE.
Back to top
View user's profile Search for posts by this user Send private message Reply to topic Reply with quote
Justus S.
Member
Member


Joined: 17 Nov 2004
Posts: 1208 | TRs
Location: WA
Justus S.
  Top

Member
PostTue May 15, 2018 9:28 pm 
Reply to topic Reply with quote
Gmap4 has been a great tool for looking at maps to following the summer fires, etc... Hope you can keep it going.
Back to top
View user's profile Search for posts by this user Send private message Reply to topic Reply with quote
Sore Feet
Random Quippy Bit



Joined: 16 Dec 2001
Posts: 6188 | TRs
Location: I'm on a boat
Sore Feet
  Top

Random Quippy Bit
PostWed May 16, 2018 7:43 pm 
Reply to topic Reply with quote
I was wondering what might happen to Gmap4 because of this.  I've had to strip out dynamic maps from a majority of my websites in order to try to fall within the free monthly usage quotas, and I'll see if my changes make it work when the first billing cycle kicks in next month.

Definitely look into using Leaflet as a replacement.  It's a far more customizable library than the Google Maps Javascript API is, but it's just the library itself - you can style just about everything using pure CSS, which is a huge plus, and it has a massive plugin library.  You have to incorporate your own tile servers manually though, which is where Google Maps had the advantage in the past.  Given that you've used image tiles from multiple different sources, and don't seem to rely heavily on the Google Maps tiles directly, you should be able to port over the majority of the function of Gmap4 to Leaflet with relative ease - you just won't be able to use the Google Maps tiles.

If you need replacement map tiles, Mapbox allows 50,000 loads per month using their tile sets, and that's I believe the most generous free offering available now that Google has gotten greedy.  This is likely the route I'll have to take.  I have no idea how intense rolling a custom OpenStreetMap tile server is (I suspect it wouldn't be cheap), but that's also another option.

--------------
Bryan Swan
Pictures - http://www.flickr.com/photos/bryanswan
Waterfalls - www.waterfallsnorthwest.com
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
cdestroyer
Member
Member


Joined: 14 Sep 2015
Posts: 321 | TRs
Location: montana
cdestroyer
  Top

Member
PostWed May 16, 2018 7:55 pm 
Reply to topic Reply with quote
google maps  no longer works with my firefox browser.. it may be older and thus an excuse but it worked 6 months ago.
Back to top
View user's profile Search for posts by this user Send private message Reply to topic Reply with quote
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2136 | TRs
Location: Redmond
Joey
  Top

verrry senior member
PostWed May 16, 2018 8:34 pm 
Reply to topic Reply with quote
Current Firefox works fine with Gmap4.

If I do have to learn a new API it will definitely be Leaflet.

The feds have a free seamless basemap.  It is their digital topo map.
See it below.  As you zoom in more detailed data appears.  They are building this in part with crowd source data.

View larger size in new window
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
Sore Feet
Random Quippy Bit



Joined: 16 Dec 2001
Posts: 6188 | TRs
Location: I'm on a boat
Sore Feet
  Top

Random Quippy Bit
PostWed May 16, 2018 11:54 pm 
Reply to topic Reply with quote
Very nice, that might solve half of the problem I'm running up against.  Will have to play around with it this weekend.

--------------
Bryan Swan
Pictures - http://www.flickr.com/photos/bryanswan
Waterfalls - www.waterfallsnorthwest.com
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2136 | TRs
Location: Redmond
Joey
  Top

verrry senior member
PostThu May 17, 2018 4:29 am 
Reply to topic Reply with quote
Here is info from the feds encouraging people to provide crowd-source data for the basemap I posted.

https://nationalmap.gov/TheNationalMapCorps/index.html
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
thunderhead
Member
Member


Joined: 14 Oct 2015
Posts: 769 | TRs

thunderhead
  Top

Member
PostThu May 17, 2018 9:28 am 
Reply to topic Reply with quote
That terrain basemap looks pretty solid... just eyeballing it quickly.  Hopefully that will be a pretty seemless replacement for google maps!
Back to top
View user's profile Search for posts by this user Send private message Reply to topic Reply with quote
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2136 | TRs
Location: Redmond
Joey
  Top

verrry senior member
PostThu May 17, 2018 4:30 pm 
Reply to topic Reply with quote
Here is a one of Google's demo maps.  You can view the source code.

https://mappingsupport.com/test/google_traffic.html

I used Firefox and opened the map. Then I did:
1. Click 3 bars in upper right
2. Click web developer
3. Click network
4. Reload the page.

For the reload, a display below the map shows what is cached and what is not cached.
The second line in that display shows that a good chunk of Google's API is not cached.

I am convinced that reloading the map will be counted by Google as another load of their API.

Since it is important that I not be at risk of pissing Google off, I have no plans to cache their API.

The next thing I need to do is read up on how to do my own server-side application logging.  That seems to be the only way I can count how many times Gmap4 is opened or reloaded.  Each such event is 1 Google map API download.

I have been using StatCounter but it turns out that for various reasons that software is likely undercounting the number of times Gmap4 starts and thus undercounting API downloads.
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
Sore Feet
Random Quippy Bit



Joined: 16 Dec 2001
Posts: 6188 | TRs
Location: I'm on a boat
Sore Feet
  Top

Random Quippy Bit
PostThu May 17, 2018 6:58 pm 
Reply to topic Reply with quote
Doesn't have anything to do with the API itself, it's the call to the Quota Service at

Code:
https://maps.googleapis.com/maps/api/js/QuotaService.RecordEvent?(your-domain-and-api-key-and-related-uri-params-here)

It used to be that it was registering an impression based on the call to your API key itself, so as long as the map window remained open it would still count as just one use toward the quota.  Could probably easily confirm this by blocking requests sent to that API - the map probably won't load or will error out because it's expecting a callback.

--------------
Bryan Swan
Pictures - http://www.flickr.com/photos/bryanswan
Waterfalls - www.waterfallsnorthwest.com
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
Joey
verrry senior member



Joined: 05 Jun 2005
Posts: 2136 | TRs
Location: Redmond
Joey
  Top

verrry senior member
PostThu May 17, 2018 7:02 pm 
Reply to topic Reply with quote
Thanks Bryan.
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
Navy salad
Member
Member


Joined: 09 Sep 2008
Posts: 1526 | TRs
Location: Woodinville
Navy salad
  Top

Member
PostTue May 22, 2018 9:39 am 
Reply to topic Reply with quote
cdestroyer wrote:
google maps  no longer works with my firefox browser.. it may be older and thus an excuse but it worked 6 months ago.

I use Firefox and Google maps currently display just fine.
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
puzzlr
Mid Fork Rocks



Joined: 13 Feb 2007
Posts: 6468 | TRs
Location: Stuck in the middle
puzzlr
  Top

Mid Fork Rocks
PostFri May 25, 2018 10:15 am 
Reply to topic Reply with quote
Joey wrote:
Here is info from the feds encouraging people to provide crowd-source data for the basemap I posted.

https://nationalmap.gov/TheNationalMapCorps/index.html

I'd definitely contribute to this to keep the maps up-to-date. But for hikers the crowd sourcing isn't going to help much. The only things that can be added are structures

Quote:
TNMCorps is an online crowdsourcing mapping project with volunteers successfully editing structures in all 50 States, Puerto Rico, and the U.S. Virgin Islands. As part of The National Map, structures include schools, hospitals, post offices, police stations, cemeteries, and other important public buildings.

So far there's no way to add or modify trail heads, trails, roads, peak or lake names, etc.

And I'll make my usual complaint -- the road data for the Middle Fork is way off. It still shows an old railroad bridge that hasn't been in existence for 60 years. I complain about that because I know what it's supposed to be. I can only assume other areas also have extremely outdated road and trail data. I would put in time to fix it if that was supported.

--------------
Mid Fork Rocks flickr
Back to top
View user's profile Search for posts by this user Send private message Send e-mail Reply to topic Reply with quote
cdestroyer
Member
Member


Joined: 14 Sep 2015
Posts: 321 | TRs
Location: montana
cdestroyer
  Top

Member
PostFri May 25, 2018 2:34 pm 
Reply to topic Reply with quote
so for those of youse that posted your version of firefox works with google maps that is just so peachy keen, BUT as I said the version I have does not work with maps even though it did work about 6 months ago and I could even get a street side view. so if it means I must upgrade (shiver) and youse that have a working version of firefox have upgraded to a new computer can you send me your old computer so I can upgrade? or maybe a donation for a (garsh) new computer!
Back to top
View user's profile Search for posts by this user Send private message Reply to topic Reply with quote
  Display:     All times are GMT - 8 Hours
Forum Index > Trail Talk > Policy change at Google likely means the end of Gmap4
  Happy Birthday newdawnfades, sconey!
Jump to:   
Search this topic:

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
   Use Disclaimer Powered by phpBB Privacy Policy