OpenLayers has made "rolling your own map viewer" a dead-simple affair. You can have something basic or you can go full blown framework with every bell and whistle under the sun. Fusion itself (and probably every web mapping framework out there for that matter) is built on top of OpenLayers, which tells you the pedigree and ubiquity of this JavaScript mapping library.
How simple? Here's a mobile viewer I built using OpenLayers (2.12 RC) with Twitter Bootstrap and HTML5.
Devices shown: HP TouchPad (modded for Android 4.0), Samsung Galaxy Nexus (Left), Samsung Galaxy S2 (Middle), iPhone 3GS (Right)
In case the above photo's a bit blurry (sorry, all the good cameras were unavailable :D), here's a same viewer on a desktop machine.
The source for this mobile viewer can be found here. The viewer is very basic at the moment. Do not expect AJAX/Fusion viewer levels of features and functionality. Consider this a proof-of-concept or a starter template for your own mobile MapGuide viewer. And you know what? Someone else can take the glory and build this viewer to its full potential :-) For me this viewer was simply a learning exercise in HTML5 and Twitter Bootstrap
No comments:
Post a Comment