[OpenLayers-Users] OL 2.11 Mobile, problem with panning

Frederic Junod frederic.junod at camptocamp.com
Thu Dec 1 05:25:58 EST 2011


See http://openlayers.org/dev/examples/bing.html

Aerial layers with:

new OpenLayers.Layer.Bing({
  name: "Aerial",
  key: apiKey,
  type: "Aerial"
});

Is that what you're looking for?

fredj

On Thu, Dec 1, 2011 at 10:14 AM, Alex <zeitalex at googlemail.com> wrote:
> Sorry forgot to mention that I am looking for the satellite imagery.
>
> 2011/12/1 Frederic Junod <frederic.junod at camptocamp.com>
>>
>> On Thu, Dec 1, 2011 at 9:55 AM, Alex <zeitalex at googlemail.com> wrote:
>> > Thanks a lot for your answer it saved me a lot of time. May be you can
>> > suggest an alternative to Google Layer that works well on Mobile? Thanks
>> > a
>> > lot in advance.
>>
>> Most of the mobile examples (http://m.openlayers.org) uses Bing or OSM
>> layers.
>>
>> fredj
>>
>> >
>> >> 2011/12/1 Eric Lemoine <eric.lemoine at camptocamp.com>
>> >>>
>> >>>
>> >>> On Wednesday, November 30, 2011, Alex <zeitalex at googlemail.com> wrote:
>> >>> > Dear all,
>> >>> >
>> >>> > I tried to migrate OL 2.10 PC aimed version to OL 2.11 Mobile one
>> >>> > with
>> >>> > Google Layer v3. The major problem is the panning. It is not smooth
>> >>> > especially for Google Layer. While panning my WMS layer is moving
>> >>> > independently from Google Layer. Only after Panning is finished they
>> >>> > fit
>> >>> > together again. Another problem is that the loading takes longer. I
>> >>> > created
>> >>> > custom OL build but it did not really help.
>> >>> >
>> >>> > Anyone have similar issues?
>> >>>
>> >>> I don't think the Google layer has received much testing (and interest
>> >>> up
>> >>> to now) on mobile. OpenLayers doesn't itself move Google layers, but
>> >>> relies
>> >>> on the Google Maps API for that. That may explain why your WMS and
>> >>> Google
>> >>> layers aren't aligned while dragging. Another issue you'll have is
>> >>> with
>> >>> pinch zoom. OpenLayers' pinch zoom only works for
>> >>> non-fixed/non-commercial
>> >>> layers. So at this point I wouldn't recommend having Google layers in
>> >>> OpenLayers mobile applications. Sorry.
>> >>>
>> >>> --
>> >>> Eric Lemoine
>> >>>
>> >>> Camptocamp France SAS
>> >>> Savoie Technolac, BP 352
>> >>> 73377 Le Bourget du Lac, Cedex
>> >>>
>> >>> Tel : 00 33 4 79 44 44 96
>> >>> Mail : eric.lemoine at camptocamp.com
>> >>> http://www.camptocamp.com
>> >>>
>> >>
>> >
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/openlayers-users
>> >
>> >
>>
>>
>>
>> --
>> Frédéric Junod
>> Camptocamp SA
>
>



-- 
Frédéric Junod
Camptocamp SA


More information about the Users mailing list