Mark,
I have set up our web pages so that one site will scale across devices. The major components are OL 2.12, jquery, and jquery ui.
In order to get the one page to scale I have had to do some device sniffing which I believe is frowned upon, but it has worked well for me.
This is our parcel lookup site, which is also our most used site. I had a lot of code in it that I am unhappy with, and am planning significant changes.
http://gis.catawbacountync.gov/parcel/
This site is functionally similar with some significant code changes. It is a work in progress and will become my new template.
I had reduced my use of global’s, used more objects, made major changes to how I add layers, etc.
Some version of this may one day show up on github. Right now that is just a thought.
http://gis.catawbacountync.gov/cc/index.html
I would be glad to receive critical comments, or answer questions from anyone off list. It is not really a geoserver issue.
Ralph Dell
Catawba County NC
From: Mark Volz [mailto:MarkVolz@anonymised.com]
Sent: Tuesday, June 03, 2014 3:01 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] configurable mobile county web map
Hello,
I would like to create a mobile county web mapping application as well as a desktop web mapping application. Does anyone have any customizable examples or how to documents that I could use to get started?
For the Mobile site:
I would like to have a mobile site with a simple interface and some features such as the ability to identify features, perform searches (find parcels), and possibly switch layers. In the past I tried working with http://dev.openlayers.org/releases/OpenLayers-2.13.1/examples/mobile-jq.html#searchpage. However, I noticed that example does not handle query misses. For example if someone types in “New Yurk” instead of “New York” the page will freeze up.
*P.S. It would also be really cool if there was a mobile editing application as well.
For the Desktop site:
I would like to have something with even more tools such as measure tools, printing, editing, etc.
If anyone has any code examples or how to documents let me know.
Thank You!
Sincerely,
Mark Volz, GISP