Google Maps API issue - Browser Not Supported Error - javascript

Tested html code and Javascript which renders maps in Chrome and Firefox. When called from our application the maps will not render and we get the Browser Not Supported Error. Tested using Chrome 62 and Firefox 56.0.2. Map API Key is valid and tested. Using Devtools see no errors in the htm and javascript code.
We use a gis server to house the code that renders the maps for Google Maps, Bing and Custom GIS map servers. Application server houses a DB that has the URL for all the map connections. These URLs are used by client applications to render maps on PC, Android and iOS devices

Fixed the problem by adding the frozen version in the javascript
Now the map tiles render. Having issue with other script errors but I thinks I can fix

Related

Google Maps Javascript API tilt view differs from the one on www.google.com/maps

I noticed that some places opened on google.com/maps service look completely different from the same view generated using Google Maps Javascript API 3 using tilt: 45.
In the example map center is lat:39.073282988412444 lng:-77.15641707252614
So how it looks on google.com/maps service using hybrid mode and 3d view (not sure if it is the same as tilt: "45"):
And this is how it looks on my website using Google Maps Javascript API 3 in hybrid mode with tilt: 45 option:
As you can see the quality is poor when using API. Google maps uses something like 3d rendering which is not available through API.
So my question is. Does that mean that we (API customers) cannot achieve the same quality as we see on google.com/maps service?
Because I believe everybody thinks that he can embed the same map as shown on google.com/maps through API, but in reality, it seems that you get lower quality service.
PS: I noticed that google.com/maps probably uses WebGL:
The most important point is that Google Maps JavaScript API and Google Maps consumer application (maps.google.com) are different products managed by different teams at Google. You shouldn't expect that they work exactly the same way at all situations. As far as I know the API team strives to get the functionality as much close to consumer application as possible, but sometimes they need some time to implement things on the API side.
Referring to the MapsGL support in the Google Maps JavaScript API, there is a feature request in Google issue tracker that currently has 130 stars. Please have a look at this feature request:
https://issuetracker.google.com/issues/35821626
I would suggest starring the feature request to add your vote, hopefully Google will take into account the number of people who starred the issue and implement it.
As I commented, in "Enable new GL rendering in Google Maps API v3?", WebGL was unavailable in 2011.
In 2014, the Web Maps JavaScript API Release Notes page shows with this issue that WebGL is active.
But the Google Maps APIs documentation shows multiple APIs, and an API picker
From that API picker, we see that 3D features are only available in Google Maps Android API and Google Maps SDK for iOS.
It is not mentioned/available in the Google Maps JavaScript API or Google Maps Embed API, used to embed a map in a web page.
Yet, that last API does show a view mode which displays buildings in a 3D-ish way: Google Maps Embed API / Map Mode / View mode: maybe that is enough for your case. (IE, using the "Embed API", not the "Javascript API")

HTML5 GEO on Mobile Chrome not working indoor due to google cdn not available in CHINA

This issue is really freaky....maybe you know if browser uses html5 geo to locate...it will connect with some CDN for geo stuffs...in Chrome it will try to connect with google CDN if mobile is under wifi or network but GPS not available.
It means Android+Chrome (any version) in CHINA HTML5 geo can only work outdoor...indoor will fail (timeout). Previously I think it can be fixed by changing CDN ...but i fail for chrome never allow to do it.
Maybe there are two ways to resolve this issue.
Find a way to let user chrome not connect with google CDN but other available CDN.
Prepare necessary geo js et al on server and flag something to inhibit chrome connecting with google CDN.
Actually I do not know if above ways are doable or not....anyone could help ?
BR
Caesar

Fetch device location from local web page

How do i fetch the latitude and longitude of the android device from a local html page in chrome using javascript and jquery ?
Chrome doesn't fetch location nor does it ask for user permission(i think its because of its security).
Mozilla on the other hand does this better, but my html pages are compatible with chrome for many other reasons(not much security).
I have tried the HTML5 geoLocation api too, but doesn't help in chrome.

Google map won't load when tested in application

I have created a project in which I am trying to use google maps.
The maps are shown fine in all desktop and mobile browsers, but when deployed in the Android Tablet the map section is blank in the app.
I debugged it and found that the request where I am trying to get maps i.e. https://maps.googleapis.com/maps/api/js?key=API_KEY&sensor=SET_TO_TRUE_OR_FALSE is not loaded.

Javascript based Google Maps API in Android phonegap app works fine in India but not in the US

I am working on a cordova/phonegap based geolocation app using Google maps. I am using Cordova 2.4 if that matters for this issue. I am getting the location coordinates from the phone and show it as a marker on the map. I also, use the reverse google's geo-location to get the address corresponding to that location. However, the map thing is working fine in India. It displays the marker on the map and also gets the address for that location. However, when I sent the same app to my friend in the US to test, he could not see the map or the marker and also could not get the address corresponding to that GPS coordinates. He did get the alert for the GPS coordinates (which I had added for debugging purposes).
So, it seems there is an issue probably with the Maps API not working in the US. I sent it to multiple people in the US and all of them had same issues. Whereas it worked in India on multiple device like Nexus 4, Nexus S, Galaxy S2 etc.
The app checks if the location services are enabled (using Cordova plugin) and if not, it asks users to do that.
I then created a console API key and used that but still the same result (console API Key was generated for my gmail account which is based in India).
I would like to know if there are any restrictions to view google maps data for US addresses with API key for an account that is India based, or using no key (which works in India).
ANy help will be appreciated.
Thanks,
Manish
UPDATE: fixed the issue. There was another totally unrelated issue/bug.

Categories