To realize the full potential of location-based smartphone apps, they should be built to support offline mode and original map graphics. Creating a custom offline map is the best choice. We were faced with this challenge as well, and the solution we came up with was creating a separate library for this purpose. That is how I developed the m​AppWidget code library.​

We recently decided to open source it, and now mAppWidget is available to anyone in need of a mobile custom offline map solution.

How is it different?

Originally created for rapid design and integration of custom maps, mAppWidget uses graphics technique that generates a larger map by re­using smaller images (tiles). This approach saves RAM and increases real-­time performance, which is especially important on mobile devices. Zooming into images is not limited by the resolution of the input map image. Beyond the maximum zoom level of the image, the library uses digital zoom. At the same time, mAppWidget is more than just a tile engine. In brief, it allows map calibration using GPS for displaying the user's location in an easy way.

Why create own tiles?

Having your own tiles allows you to use any image as a map (e.g. resort maps, amusement parks, etc.) in a way that provides more opportunities for custom design. This is definitely an advantage when you need to show specific, detailed, or temporary objects on the map, such as locations of rides in an amusement park, or would like the map design to be in line with the app’s look and feel.

Why open source?

At L​emberg, ​we are passionate about the things we do. I often find myself and my colleagues working in knowledge hubs with tips, tricks, and prototypes that evolve into such projects as the mAppWidget, Drupal modules, and other open source projects. Why not share these with the community as a useful giveaway? That's what we've decided for ourselves through publishing articles on our blog and open sourcing the code.

Besides, we’re using many great open­ source solutions, so open sourcing some of our own work means giving something back as well. That's what it is all about.

You might like mAppWidget if...

You're an Android developer or app owner. The main purpose of the library is to cut time, and thus reduce the cost, of developing offline maps.

The mAppWidget is mainly used in travel and hospitality industries, in settings such as private resorts, ski resorts, outdoor events, city guide apps, and national parks, where mapping/location tracking solution is needed, but internet connection is not always available.

Get involved with mAppWidget