<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>I've been waiting for OL2.11 to come out of RC status. Though I think RC1 may end up being the only RC. I think the touch integration should work pretty smoothly.</span></div><div><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div style="font-size: 10pt; font-family: arial, helvetica, sans-serif; "><div style="font-size: 12pt; font-family: 'times new roman', 'new york', times, serif; "><font size="2" face="Arial"><hr size="1"><b><span style="font-weight:bold;">From:</span></b> Bob Basques <Bob.Basques@ci.stpaul.mn.us><br><b><span style="font-weight: bold;">To:</span></b> Geomoose Support <geomoose-users@lists.sourceforge.net>; Michael J. (DOT) Reynolds <mike.reynolds@state.mn.us><br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday,
June 29, 2011 3:00 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Geomoose-users] GeoMoose Mobile OpenLayers Control TouchNavigation<br></font><br>
<div id="yiv1586899376">
<style type="text/css">
<!--
#yiv1586899376 a:visited {color:purple;text-decoration:underline;}
#yiv1586899376 span.yiv1586899376emailstyle17 {font-family:Calibri, sans-serif;color:black;}
#yiv1586899376 li.yiv1586899376msonormal {font-family:Calibri, sans-serif;margin-left:0in;font-size:11.0pt;margin-top:0in;margin-right:0in;margin-bottom:.0001pt;}
#yiv1586899376 a:link {color:blue;text-decoration:underline;}
#yiv1586899376 p.yiv1586899376msonormal {font-family:Calibri, sans-serif;margin-left:0in;font-size:11.0pt;margin-top:0in;margin-right:0in;margin-bottom:.0001pt;}
#yiv1586899376 span.yiv1586899376msohyperlink {color:blue;text-decoration:underline;}
#yiv1586899376 span.yiv1586899376msohyperlinkfollowed {color:purple;text-decoration:underline;}
#yiv1586899376 div.yiv1586899376msonormal {font-family:Calibri, sans-serif;margin-left:0in;font-size:11.0pt;margin-top:0in;margin-right:0in;margin-bottom:.0001pt;}
-->
</style>
<div style="margin-bottom:0;margin-top:0;">
<font face="Comic Sans MS" size="3">Michael,</font> </div>
<br>
<div style="margin-bottom:0;margin-top:0;">
<font face="Comic Sans MS" size="3">You're definitely on the forefront of development here with respect to GeoMoose.</font> </div>
<br>
<div style="margin-bottom:0;margin-top:0;">
<font face="Comic Sans MS" size="3">I'm seeing more interest in the Mobile support stuff for GeoMoose (and other OSS projects) lately, and I'm interested in what can be made to work here.</font> </div>
<br>
<div style="margin-bottom:0;margin-top:0;">
<font face="Comic Sans MS" size="3">I have an IPAD now and an Android device on order. Do you have a public facing site to demo/test from? I don't have anything in the new GEOMOOSE code running on the outside right now, or I play there. I could set up my own and add your changes too if need be.</font> </div>
<br>
<div style="margin-bottom:0;margin-top:0;">
<font face="Comic Sans MS" size="3">bobb</font> </div>
<br> <br>
<div style="margin-bottom:0;margin-top:0;">
<br>
<br>
>>> "Reynolds, Michael J. (DOT)" <mike.reynolds@state.mn.us> wrote:<br> </div>
<table style="font-size:1em;margin-left:15px;margin-top:0;margin-right:0;margin-bottom:0;" bgcolor="#f3f3f3" border="0">
<tbody><tr>
<td>
<div style="border-left:solid 1px #050505;padding-left:7px;">
<div class="yiv1586899376WordSection1">
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
I was wondering if anyone has created a good Mobile Touch version of Geomoose. Is there a good way to do this? </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
I took a quick chop at it. With a version of Goemoose 2.2. Downloaded the newest OpenLayers 2.11-rc1 to the htdocs folder. </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Modified the index.html to load the openlayers.js from this new version’s folder. </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
In the compiled.js file I made the following change: </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>function</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> configureMap () {</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> CONFIGURATION.scales = CONFIGURATION.scales.sort().reverse();</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; ">
</span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>var</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> options = {</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> maxExtent : OpenLayers.Bounds.fromArray(CONFIGURATION.max_extent),</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> controls : [</span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>new</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> OpenLayers.Control.PanZoomBar(), </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>new</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> OpenLayers.Control.ScaleJumper({target: </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(42, 0, 255); font-size:
10pt; font-family: 'Courier New'; ">'scale-jumper'</span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; ">}), </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>new</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> OpenLayers.Control.TouchNavigation({dragPanOptions: {enableKinetic: </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>true</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> }})],</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span>
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> units: CONFIGURATION.ground_units,</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> projection: </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>new</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> OpenLayers.Projection(CONFIGURATION.projection),</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> displayProjection: </span></span><span style="font-family: 'Courier New'; "><span style="color: rgb(127, 0, 85); font-size: 10pt; font-family: 'Courier New'; "><b>new</b></span></span><span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> OpenLayers.Projection(CONFIGURATION.projection),</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> fractionalZoom: CONFIGURATION.fractional_zoom</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<span style="font-family: 'Courier New'; "><span style="color: black; font-size: 10pt; font-family: 'Courier New'; "> }</span></span><span style="font-family: 'Courier New'; "><span style="font-size: 10pt; font-family: 'Courier New'; "></span></span> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Specifically I added “<font color="black"><span style="color:black;">, </span></font><font color="#7F0055"><span style="color:#7F0055;">new</span></font><font color="black"><span style="color:black;"> OpenLayers.Control.TouchNavigation({dragPanOptions: {enableKinetic: </span></font><font color="#7F0055"><span style="color:#7F0055;">true</span></font><font color="black"><span style="color:black;"> }})” to the controls array.</span></font> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
<font color="black"><span style="color:black;">
</span></font> </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
The site seemed to load up just fine. </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
The map panel now responds to touch gestures: </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Double tap / reverse pinch = zoom in </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Pinch = zoom out </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Point drag = pan </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Zoom to extent tool works. </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Some of the navigation tools are not necessary now (magnifying glass, pan?) </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
The Identify tool does not work. I think the way I added in the Touch Navigation or the existing geomoose tool management doesn’t allow the identify click to override the touch navigation on the map div. </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Our goal is to make our Geomoose site compatible with Ipad/Safari devices and Android devices. </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
I don’t know what this breaks. Does it break anything? </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Anyone already pave this ground? </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Michael Reynolds </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
(651) 775-5915 </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
Traffic Engineering - Data Management </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
MnDot - Metro District </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
USNG: 15TVK8708484276 </div>
<div style="margin-bottom:0;margin-top:0;" class="yiv1586899376MsoNormal">
</div>
</div>
</div>
</td>
</tr>
</tbody></table>
</div><br>------------------------------------------------------------------------------<br>All of the data generated in your IT infrastructure is seriously valuable.<br>Why? It contains a definitive record of application performance, security <br>threats, fraudulent activity, and more. Splunk takes this data and makes <br>sense of it. IT sense. And common sense.<br><a href="http://p.sf.net/sfu/splunk-d2d-c2" target="_blank">http://p.sf.net/sfu/splunk-d2d-c2</a><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.sourceforge.net" href="mailto:Geomoose-users@lists.sourceforge.net">Geomoose-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/geomoose-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/geomoose-users</a><br><br><br></div></div></blockquote></div></div></body></html>