Google Static Maps Issue: Geodesic path having corners - polyline

I am having issues with geodesic path/polylines with Google Static Maps.
Buggy map with corners:
https://maps.googleapis.com/maps/api/staticmap?maptype=roadmap&size=512x380&zoom=1&path=geodesic:true|25.06,-80.86|-43.87,151.21|64.13,-21.82|39.9,110.41|41,9
When removing the first coordinate, i am getting nice path lines:
https://maps.googleapis.com/maps/api/staticmap?maptype=roadmap&size=512x380&zoom=1&path=geodesic:true|-43.87,151.21|64.13,-21.82|39.9,110.41|41,9
When removing the last coordinate, it stays buggy with different corners.
I cannot find anything about a reported Google bug, but I have no idea what could be wrong with my URLs.
Any ideas? Google? Can you help?

Related

Camera animation here SDK

Any tips how to do nice camera animation with the here SDK for flutter I can take examples from IOS or Android SDK.
The issue I’m facing is that in the example it shows animation with pre known camera zoom/distance to earth source and target.
In my example it’s difficult to find the right distance to earth given a bounding box and also find the center of a bounding box finally find the right bounding box to be able to comfortably see a set of GeoCoordinates.
Any tips much appreciated
There's nice bow-type animation example for Flutter. It's using custom Tweens.
If you want to zoom to a set of coordinates, use the MapCamera's calculateEnclosingCameraUpdate() method. It allows to zoom to a bounding box you can get from a route with route.getBoundingBox(). This way you can ignore the distance or center as the camera will automatically find the right value.

Annoying white flashes happen when zooming in Google Map Api

I'm currently developing a webpage containing a map based on Google Map Api V3 : http://www.fairaidsyria.org
I have two overlays containing polygons that appear successively as the user zooms in..
Unfortunately, annoying "white flashes" occur when zooming. The problem even occurs at max zoom levels, when both overlays are not displayed...
The blinking seems to be directly related to the presence of polygons in the zoomed area, because if you try to zoom somewhere else in the world (area without polygons), everything works fine : no flashes.
I suspect this phenomena to be "native" and not related to a mistake I could have done. In fact, the same flashes also happen when you zoom in the triangle in the following official example : https://developers.google.com/maps/documentation/javascript/examples/polygon-simple?hl=en
Did someone find a way to solve this?
based on this good article change your meta viewport tag to:
<meta name="viewport" content="initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0">

Google Maps API v3 - Minor distortion (white/gray stripes)

I set up a Google Maps v3 at our website at http://wallawalla.tk/services and I encounter a minor distortion issue. That is, if you look at the map very precisely, you'll see that there are random "white/gray stripes" appearing. Most important at the very left side of the map and especially when opening InfoWindows respectively closing them. It appears that "white/gray stripes" are somehow related to the border of the InfoWindow, i.e. it seems that if one of the borders doesn't show up (most of the time at the very left side of the respective InfoWindow), there is a random "white/gray stripe" appearing near or even through the InfoWindow. Unfortunately this isn't reproducible 100% of the time which makes it even more suspicious to me. Please try to open/close some of the InfoWindows to actually see it. I guess it is somehow related to our CSS. I read a lot about related distortions but nothing seem to fit my specific case. The "white/gray stripe" on the very left side of the map itself is reproducible almost 100% of attempts trying to reproduce. All "white/gray stripes" are 1px in width and they disappear if you either pan the map or scroll it out and back into the viewport of the Browser window. I'm testing with Google Chrome 22.0.1229.79/Webkit.
Doesn't seem to affect FF11.0/Gecko. Tried it just yet and while Chrome shows described behaviour, FF doesn't
My guess is that it is being caused by OverlappingMarkerSpiderfier. Can you build a simple test that displays your points and InfoWindows without using OMS and see if you still have the issue?

Handling overlays on Google Streetview custom panoramas

i'm trying to use overlays on a custom google StreetView Panorama.
I was able to simply put one on my pano, but the position is totally random (i made some attempts until the effect was alright), and the change of rendering mode (in chrome which renders as a sphere) changes the effect.
The problem is clear: the custom panorama has no information about its dimensions (it has only a LatLng), so the relative positions are wrong.
Am i missing something?
The only thing i need is to put some clickable labels on the walls of a room, which modify themselves along with the rotating panorama. I searched a lot, but my efforts were inconclusive.
Mapsicle seemed to do what i needed, but if i understood correcly it's a dead project.

google maps javascript api v3 - overlay behind the roads

Is it possible to set overlays like polygons and circles behind the roads?
(I think this would be possible only if google sends each tile in two sets one with just background and one with just the roads with full transparency. I am not sure if google does that.
From the api, I could see only ZIndex, which is relative to other overlays. So, it seems it is pretty much not possible. Can somebody please confirm this for me?!
It is not possible - a map tile image contains both the road and terrain and all the other graphic elements of the map itself. There are separate layers for markers and polylines so in theory you could create your own polyline layer containing road polylines and draw under that but that would be too complex. If you would like to draw fully customizable maps check out OpenLayers or http://polymaps.org/ or http://www.cloudmade.com/

Resources