Use zoom level beyond 21 on iOS - google-maps-sdk-ios

I am displaying some floor plans using GMSPolygons within the google maps SDK for iOS. On our web-based version, we can switch to map type "None" and zoom beyond the max zoom level to view fine details of the floor plans.
Within iOS if I specify the map type kGMSTypeNone and use [_myMapView setMinZoom:16 maxZoom:25] I am still unable to zoom past 21.
Is there a workaround for this?

Related

Bing Maps Windows Store 8.1 Show All Pins

The Bing Maps Control for Windows 8.1 universal runtime (I'm using Windows Phone) has a built in behavior of only showing pins with no overlap. If you add 100 pins to the map, but any overlap each other, one of "touching" pins will be removed. You must zoom in until there is enough room to show both without them overlapping. How do I turn off this behavior? The map knows it has 100 pins as children, but it may only show a dozen or so due to the no-overlap logic.
I want to show all pins on the map, regardless if they overlap.
This only happens if you use MapIcon's. Instead, create pushpins using a UIElement and add it to the Children property of the map. This is a very common way to create custom pushpins in all of the Bing Maps controls (Silverlight, WPF, WP7/8/8.1, Win8/8.1/10).

Best way to combine offline map (e.g. Open Street Maps) with Google Maps for iOS?

We have implemented Google Maps in an app for tourists but we want to provide seamless offline maps. We can generate these from the OSM data and we can even display these on the Google Maps with a negative zIndex which means they generally only show when the online map tiles are not available. However there are some issues with this approach:
1/ After going offline, for a while, Google Maps shows a very poor version of it's map (i.e. if you zoom in it is very blurry).
2/ As user moves around the map, sometimes the cached tiles (poor quality usually) show up and disappear.
3/ We can't control the zoom level when offline and so sometimes our map tiles won't be shown if the user zooms too much.
Ideally we'd like to be able to know if google maps can't load a tile so we could display our own. Is this possible? Or can we fix the above issues?

On my Google Maps when I zoom out beyond level 10 all my markers disappear

My google maps work fine at a zoom level higher than 10, but if I zoom out my markers disappear. I cant see where the error is. Have tried using v3 and v2. Also changing from .png markers to .gif. Have tried with fewer points on the map.
Its the same problem across all the browsers.
Thanks for helping...
http://test.onionring.co.uk/map-towns.asp?region=Cheshire
Nick
This is your problem (the marker manager is doing what you are telling it to do):
manager.addMarkers(batch, 11);
According to the documentation, 11 is the minimum zoom (the first zoom at which the marker will appear).
addMarker(marker:Marker, minZoom:Number, opt_maxZoom:Number)

Can the google map type be changed to RoadMap when zoomed out?

Google has recently made changes to their maps, it switches to Terrain mode when zoomed out (from zoom level 17 onwards). Is it possible to switch it back or force it to remain in RoadMap mode using the javascript API?
You can not do it. Because Google changed tiles itself, so we cannot do it anything.
Kasheftin has come up to a solution to this as an answer to his question "Auto switch to other mapType on max zoom level in google maps": https://stackoverflow.com/a/18147423/348485

Setting map bounds

I have a map which I would like to stay within certain bounds. I have allowed for 2 zoom levels 5 and 8. On zoom level 5 I was able to keep the map from moving by setting the center of the map to adjust by using the setCenter() function on the event of a drag. When I am zoomed in at zoom level 8 I would like to prevent users from dragging the map outside designated limits. The limits are the bounds at zoom level 5. I have tried a few things but with no avail. When I used fitbounds() it kicked me back to zoom level 5. I basically just want to limit how far you can go on the map. Any help would be appreciated.
G
There is a method posted here http://econym.org.uk/gmap/range.htm that works with v2 of the Google Maps API. The technique should work with v3 as well. View source on the example page.
Also see the duplicate question here for refinements on the above method: Google Maps API V3: limit map bounds