Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view


This post has NOT been accepted by the mailing list yet.
Hi I have a problem with the control of TouchNavigation Openlayers my need and that they can make a zoom simultaneously the various levels in particular the level map (which occurs after) and the level where there are placeholders.

At the time when pinch map takes place before the zoom level of the placeholder and then that of the google map.

My map is well defined
Salve ho un problema con il controllo TouchNavigation di Openlayers la mia necessità e quella di poter fare la zoom contemporaneamente dei vari livelli in particolare del livello mappa (che avviene dopo) e del livello dove sono presenti i segnaposto.

Al momento quando pizzico la mappa avviene prima lo zoom del livello dei segnaposto e poi quello della mappa di google.

La mia mappa è così definita

map = new OpenLayers.Map({
                div: "map",
                size: new OpenLayers.Size(1,1),
                allOverlays: true,
                autoUpdateSize : true,
                //autoActivate: true,
                projection: new OpenLayers.Projection("EPSG:900913"),
            displayProjection: new OpenLayers.Projection("EPSG:4326"),
            controls: [new OpenLayers.Control.TouchNavigation({
                           dragPanOptions: {
                               enableKinetic: true,
                               interval : 0,
                               panned: true,

        var gmap = new OpenLayers.Layer.Google("Google Streets", {visibility: true,transitionEffect: 'resize'});
        // note that first layer must be visible
            projectTo = map.getProjectionObject(); //The map projection (Spherical Mercator)
            vectorLayer = new OpenLayers.Layer.Vector("Overlay");