[OpenLayers-Users] Accessing Google Tile independent from their API in OL3? (possible for paying customer?)

drno riga0078 at gmail.com
Thu Aug 3 01:43:18 PDT 2017


Using map from tile providers are common use-case in web mapping: overlaying
internally-hosted WMS/WFS layer on top of Google Maps/OSM/Bing Maps. These
are easy in OpenLayers 2. However, this feat -especially Google Maps- is not
supported anymore in OL3.The book "OpenLayers 3 Beginner's Guide" page
107:/OpenLayers 2 had some third-party mapping APIs embedded into its core,
enabling you to use its maps inside your Openlayers-based application.
Nowadays, for better decoupling of OpenLayers API from third-party APIs, the
OpenLayers 3 team choose to have no support for other mapping APIs that tie
together tiles and an associated JavaScript API library.Why this
decision?One of the main goals of OpenLayers 3 was to rewrite OpenLayers 2,
making its API cleaner. The support for Google Maps API in OpenLayers 2 has
also put a significant maintenance burden on both library and application
developers, to keep up with changes of the Google Maps API. To avoid this in
OpenLayers 3, the support for Google Maps using Google Maps API is
nonexistent. However, Google does provide its tiles independent from their
API, but only to paying customers. Fortunately, you have more alternatives
to Google Maps API (Bing, OSM)./I found this awesome  solution
<https://stackoverflow.com/a/33993878/4795725>   in OpenLayers. I tried it
myself that it works with OpenLayers 4.1.1 and Leaflet 0.7.7.Can anyone
elaborate more on:1. how OL3 can access Google Maps tile independent from
their API ?2. whether the above solution in stackoverflow is the answer of
my question #1?3. what sort of payment/contract ? Is it the same with the
Google Maps API Premium ?



--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Accessing-Google-Tile-independent-from-their-API-in-OL3-possible-for-paying-customer-tp5330303.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/openlayers-users/attachments/20170803/82818e38/attachment.html>


More information about the Users mailing list