Hi, I think there is nothing wrong with the example.
The funny thing is I only get it working once in firefox and it is not working again in both firefox and Safari. I think my internet connection - 3G broadband is causing geolocation not working properly. My compiled Openlayers app i.e Hybrid app - (Xcode and OpenLayers) geolocation works well in iPad Simulator. However, the regular OpenLayers in the web browser, geolocation got problem of Locate and track null objects. Thanks. Regards, Noli On 6/27/11, Noli Sicad <nsi...@gmail.com> wrote: > Hi Pierre, > > It seems that the online example is working. > > I must probably the modification that I made on Geolocation.js. > However, as far I can remember, the 2.10 example is not working as > well. Or it might be that the example is not working when it is not on > a server? > > I will copy the online and see if it is working without a server. > > Thanks. > > > Regards, Noli > > > > > > > > > > > > > On 6/27/11, Pierre Giraud <pierre.gir...@camptocamp.com> wrote: >> Hello, >> >> I don't have any problem in FF3.6. >> >> You tell us that you tried it before and after the revision. Was it >> working before my modifications ? >> Can you confirm that the online example isn't working for you ? >> http://openlayers.org/dev/examples/geolocation.html >> >> Regards, >> Pierre >> >> On Mon, Jun 27, 2011 at 8:14 AM, Noli Sicad <nsi...@gmail.com> wrote: >>> Hi Pierre, >>> >>> It seems that the Geolocation.html in OpenLayers 2.11 RC does not work. >>> >>> I tried it before and after the revision. It is not working in Mac OS >>> X 10.6.4 in Firefox 3.6.x and Safari. Yes, it is asking for my >>> location but it is displaying in the map. >>> >>> >>> Would it be possible to post me, working copy (i.e. Geolocation.html >>> and Geolocation.js)? >>> >>> Thanks. >>> >>> Regards, Noli >>> >>> >>> >>> On 6/21/11, Pierre Giraud <pierre.gir...@camptocamp.com> wrote: >>>> Hi all, >>>> >>>> I just changed the geolocation example [1]. >>>> The purpose was to prevent the map to be zoomed more than once when >>>> tracking user position. >>>> >>>> Now if the user checks the "track my position", the map will be zoomed >>>> and the circle will pulsate. Then, the map will be recentered to >>>> user's position each time he moves. But, he's allowed to zoom out. The >>>> zoom level will be kept until he clicks on the "locate me" button. >>>> >>>> I think this use case is common and I hope this addition makes sense. >>>> >>>> Regards, >>>> Pierre >>>> >>>> [1] http://trac.osgeo.org/openlayers/changeset/12117 >>>> >>>> -- >>>> Pierre GIRAUD >>>> Géomaticien, Analyste >>>> >>>> Camptocamp France SAS >>>> Savoie Technolac, BP 352 >>>> 73377 Le Bourget du Lac, Cedex >>>> >>>> Tel : 00 33 4 79 44 44 93 >>>> Mail : pierre.gir...@camptocamp.com >>>> http://www.camptocamp.com >>>> _______________________________________________ >>>> Dev mailing list >>>> d...@lists.osgeo.org >>>> http://lists.osgeo.org/mailman/listinfo/openlayers-dev >>>> >>> >> >> >> >> -- >> Pierre GIRAUD >> Géomaticien, Analyste >> >> Camptocamp France SAS >> Savoie Technolac, BP 352 >> 73377 Le Bourget du Lac, Cedex >> >> Tel : 00 33 4 79 44 44 93 >> Mail : pierre.gir...@camptocamp.com >> http://www.camptocamp.com >> > _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev