View buildings in MapBox - zooming

I want to show all the buildings in my little village (fill in black color). I see them when I zoom in to the village (zoom=16), but when I zoom out, to 14 or 12, I lost the building and can't see them anymore:
First picture is zoom in, second is zoom out without buildings:

Just find zoom level at which buildings appear, save geometry and for bigger/smaller zoom levels simply scale building geometry proportionally.

Related

How can I set the zoom point of a Google Map in iOS to be off-center?

I am implementing a Google Maps for iOS SDK map in my app. I have a UISlider that controls the level of zoom in the map. I want to be able to have the map zoom in on a point that is not directly in the center of the map -- and after zooming in, this point should be offset from the center of the map by the same number of pixels as before.
I tried setting mapView.layer.anchorPoint to an off-center point, but if I do that, then it screws up the map drawing and it draws the whole map off-center, leaving black areas.
I tried zooming in on the point itself, but that moves it to the center of the map, which I don't want.
Is there a convenience method for simply telling the SDK to treat a different point other than the direct center, as being the "fulcrum", if you will, of the zooming?

Google Map API 3: dynamic circle with zoom level

In google maps v3, it is possible to have a dynamic circle that based on the zoom level, for example, in zoom level 1, the radius of circle is 5m, while in zoom level, the radius become 20m?
Thanks in advance!
if i get this right you have to do it manually.Create a circle in the body of the zoom_change() event of the map everytime the user changes the zoom.The radius of the circle depends on the logic of your application

Zoom , pan inside a rectangle bound

I am building a site with some features of google map. I want to pan, zoom in out a map with tweening effect. But when I zoom the map(Movie clip) it zooms out of the rectangular boundary.
I also want to wrap the map(when scrolled).
How can I do all these?
Check out the panning/zooming example from the Flex Interface guide:
http://www.adobe.com/devnet/flex/samples/fig_panzoom/
It demonstrates how to do what you're looking for (though not the map wrapping).
To wrap, you will need multiple copies of your map image.

How does Google do Maps' Street View Cursor "Following"

In Google Maps Street View your cursor turns into a rectangular/oval shape as you mouse over different parts of the scene. For example:
http://maps.google.com/?q=loc:+Maryland+Ave+at+e.+26th+st+Baltimore+MD+US&ie=UTF8&z=16&iwloc=A&layer=c&cbll=39.319313,-76.618426&panoid=6W2XgkHoGuf6_SKv0LIL9Q&cbp=12,307.06,,0,3.16
As you move the cursor over the building it "hugs" the walls. It's not just as simple as following the intersection because if you continue on to the left you can see the angle change as it hits different faces of the buildings.
Do they do some sort of image analysis to identify faces of the buildings or do they, as they take the picture, do some sort of laser range finder and then later combine it with the picture?
They do use laser range scanners. And according to the Google Lat Long Blog:
We have been able to accomplish this
by making a compact representation of
the building facade and road geometry
for all the Street View panoramas
using laser point clouds and
differences between consecutive
pictures.

google maps : put markers all over visible section on Google map display

I want to show limited numbers of markers(let's take 50 or so...) at all zoom level and in a manner that markers covers all entire Google map display.
So, If I am viewing whole world in map, it will show markers all over the world not to exceed a certain number, and the if I zoomed to USA it will only show previous number of markers only inside USA.
And then again if I moved to Canada , then the map should show markers of Canada only.
I am not able to
- put makers on visible region over the map on limited distances
i.e. all the visible markers maintaining somewhat some distance from each other.
You might want to look into 'clustering' or 'bunching' the points into one. It doesn't do exactly what you are describing, but it will effectively limit the number of markers you have when you are zoomed out, and 'uncluster' them once you zoom in.
There are quite a few ways (all third party - the Google API doesn't support it yet), you could have a look here at one called ClusterMarker: http://googlemapsapi.martinpearman.co.uk/articles.php?cat_id=1.
You should use a marker manager!
See http://code.google.com/p/gmaps-utility-library-dev/ and http://gmaps-utility-library.googlecode.com/svn/trunk/markermanager/