Affichage des articles dont le libellé est English. Afficher tous les articles
Affichage des articles dont le libellé est English. Afficher tous les articles

mercredi 6 mars 2013

MapQuickView - quickly view TMS layers on Android

In the past few days, I've been trying mobile development technologies for the first time. While learning and showing what I've done to my colleague at Mapgears, Simon Mercier suggested a mobile application I could work on that would be useful for him: a mobile mapping application to test how tiled layers look like on several devices.


MapQuickView - under the hood

From that idea came MapQuickView, which is built with PhoneGap for Android, Leaflet and jQuery.mobile. I used existing on-line examples to start from, like the OpenLayers jQuery mobile example and the Leaflet mobile example.  New UI features were added using jQuery.mobile.

TMS layers that are added are saved on the device using the Android Shared Preferences.  More specifically, I used this really nice AppPreferences plugin for PhoneGap made by Simon MacDonald that I could simply use directly in JavaScript.

In the end, all was just a matter of assembling existing OpenSource components that are available on the web to build this application.  It currently support TMS layers only, from existing live servers.


See it live

See what it looks like by visiting the Live web version (0.2), in which mobile-specific features don't work, but it will let you quickly feeling of the UI.


Install

If you wish to try it on your Android device, follow the installation instructions available on the GitHub repository.  Feel free to comment and log any issue you find.

Enjoy !

jeudi 28 février 2013

OpenLayers ModifyFeature - trigger event of vertex clicked

In OpenLayers 2.12, when using the ModifyFeature control, after selecting a feature, its vertices become visible and can be dragged around, but there's currently no native way to trigger "click" events when a vertex is clicked.

It would be a very simple feature to have, as demonstrated in this example.

See also the original post on OpenLayers "Users" forum


jeudi 16 décembre 2010

WebMapping application for RPGs

I'm currently day-dreaming of an on-line Web Mapping  application displaying maps from my favorite Role-Playing games, such as the Forgotten Realms in Dungeon and Dragons...

The idea was posted on Wizards of the Coast Forum today.

I also posted on the Wizards COMmunity forum too after being told that the place would be more appropriate