Displaying 1 to 2 from 2 results

android - Where you can find everything Android from Mapzen

  •    Java

The Mapzen Android SDK is a thin wrapper that packages up everything you need to use Mapzen services in your Android applications. It also simplifies setup, installation, API key management and generally makes your life better. For a working example please refer to the SDK sample app.

Leaflet-active-area - A Leaflet plugin to center the map not in the center of the map but inside a DIV

  •    Javascript

That Leaflet plugin allows you to use a DIV as the active area. All positionning methods (setView, fitBounds, setZoom) will be applyed on this DIV instead of the all map. A typical use case is to set a map as background (like that example) and center it on the top of the screen for example. Defining media queries on that DIV make it easy to adapt the active area according client resolution. Then, the map will center itself in the center of that DIV when calling setView, setZoom, fitBounds, etc.