geoq
geoq copied to clipboard
GeoQ on mobile platforms
Because we may have analysts in the field during certain events, we'll want to make sure the application displays correctly on mobile applications. Imagine iPad would be one platform we will want to examine. Others?
Made a first pass at this, which is in the 'mobile' branch. This change allows the definition of a 'geomarker', which is a point that will automatically be dropped at a user's current geographical location when they click the button on the toolbar. To create this feature type, simply put "type":"geomarker" in the 'properties' of the Point feature. All other style capabilities should remain the same. Still a minor fix required - have to cancel point dropping on toolbar after dropping a point.
So just ran a quick test with an iPad that I borrowed from another group here. I was able to show my location using the ‘find me’ button on the bottom left, then used a button to drop a marker at my location. Once placed, I was also able to move the marker using the ‘edit’ button, which allowed me to tweak the location. The job I was using was ‘Bedford Testing’ under the Tutorial project – the main thing was that I added a ‘Geo Marker’ as a feature type to that job. I’m going to tweak the ‘find me’ button a little more to make it a toggle so that a user’s location can be shown and then hidden.
Testing notes from Chris Johnson:
Here is what I found Project and Job pages functions worked correctly. Able to zoom using pinch zoom and panning on overview map on Jobs page. Selected work cell by clicking on cell in overview map and clicking on cell number to navigate to AOI workcell page. Sign in works correctly
Once in workcell 7373 workspace unable to pan or zoom using +- or pinch zoom Also, Tools, Finish and Location button didn't work
Click red flag marker at bottom of tool bar- "click to add feature to map" and "finish" grey buttons appeared. However, when selecting any other features, no grey buttons for "click map to add feature" or "finish" appeared. Unable to add any other features.
Tools and Finish buttons would "dim" on click but nothing happens.
Dialog box "Allow device to use your location" appeared --selected Allow Still could not place any features on map
Keith C found an issue with one of the javascript libraries when running on an ios platform, so we made a quick fix in that file. In testing on geo-q.com with an iPod touch (yeah, all I had!), it seems to have resolved the issue. If anyone has the ability to try this with an iPad that would be great.