<span style='font-family:Verdana'><span style='font-size:12px'>"Gennesseein' is believin' /<br />
You can count on Genny's taste, 'cause it's brewed in just one place /<br />
Gennesseein' is believin'!"<br />
<br />
<p style="margin:0px; padding:0px;" >
        Ā </p>
<blockquote style="border-left: 1px solid #CCC; padding-left: 5px; margin-left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px;" type="cite">
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">----- Original Message -----</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">From: openlayers-users-request@lists.osgeo.org</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">Sent: 10/12/11 12:00 PM</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">To: openlayers-users@lists.osgeo.org</span></span></p>
        <p style="margin:0px; padding:0px;" >
                <span style="font-family:Verdana"><span style="font-size:12px">Subject: Users Digest, Vol 61, Issue 16</span></span></p>
        <br />
        <div>
                <div>
                        <pre style="white-space: pre-wrap; word-wrap: break-word; font-size:11;pre">
Send Users mailing list submissions to
        openlayers-users@lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.osgeo.org/mailman/listinfo/openlayers-users
or, via email, send a message with subject or body 'help' to
        openlayers-users-request@lists.osgeo.org
You can reach the person managing the list at
        openlayers-users-owner@lists.osgeo.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."
Today's Topics:
1. RE: Open Popup with DoubleClick (Tito, Joseph)
2. Re: Panning 2.10 vs 2.11 (Eric Lemoine)
3. Re: Re: how to add php/postgresql query result as        Geojson
layer to openlayers (Vishal Mehta)
4. Markers (section_two)
----------------------------------------------------------------------
Message: 1
Date: Tue, 11 Oct 2011 13:09:36 -0400
From: "Tito, Joseph" <Joseph.Tito@cobham.com>
Subject: RE: [OpenLayers-Users] Open Popup with DoubleClick
To: "proveo" <pfischer@proveo.com>, <users@openlayers.org>
Message-ID:
        <5ABE30CE099A524CBF95C715D37BCACC0419C7F4@nemo.columbia.ads.sparta.com>
        
Content-Type: text/plain;        charset="us-ascii"
You can override the Click class by the following:
Put this somewhere outside your other functions:
OpenLayers.Control.Click = OpenLayers.Class(OpenLayers.Control, {
        defaultHandlerOptions: {
                'single': true,
                'double': true,
                'pixelTolerance': 0,
                'stopSingle': false,
                'stopDouble': true
        },
        initialize: function(options) {
                this.handlerOptions = OpenLayers.Util.extend(
                        {}, this.defaultHandlerOptions
                );
                OpenLayers.Control.prototype.initialize.apply(
                        this, arguments
                );
                this.handler = new OpenLayers.Handler.Click(
                        this, {
                                'click': this.onClick,
                                'dblclick': this.onDblclick
                        }, this.handlerOptions
                );
        },
        onClick: function(event) {
                alert("single click");
        },
        onDblclick: function(event) {
                alert("double click");
        }
});
You'll also need to add this control and activate it:
var clickControl = new OpenLayers.Control.Click();
map.addControl(clickControl);
clickControl.activate();
-----Original Message-----
From: openlayers-users-bounces@lists.osgeo.org
[mailto:openlayers-users-bounces@lists.osgeo.org] On Behalf Of proveo
Sent: Tuesday, October 11, 2011 10:50 AM
To: users@openlayers.org
Subject: [OpenLayers-Users] Open Popup with DoubleClick
Hallo,
how can I realise that the SelectFeature Control reacts on "onSelect:
selectFeature" only with a doubleClick, but on "onUnselect:
unselectFeature"
with a normal click.
e.g. opening a popup on a VectorLayer with doubleClick and Closing the
Popup with one Click on the Map.
Perhaps I can use this: new OpenLayers.Control.Click({
handlerOptions: {
"single": false,
"double": true
}
})
but i have no idea how to combine this with the SelectControl.
Greetings
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/Open-Popup-with-DoubleClick-tp688
1265p6881265.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
Users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
------------------------------
Message: 2
Date: Tue, 11 Oct 2011 19:21:32 +0200
From: Eric Lemoine <eric.lemoine@camptocamp.com>
Subject: Re: [OpenLayers-Users] Panning 2.10 vs 2.11
To: Ricardo Bayley <ricardo.bayley@gmail.com>
Cc: "openlayers-users@lists.osgeo.org"
        <openlayers-users@lists.osgeo.org>
Message-ID:
        <CAGZ3h-E0K+7NojHim245-WXQJmwN4ZBiK-WG8oRiv-qVCETCdQ@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday, October 11, 2011, Ricardo Bayley <ricardo.bayley@gmail.com>
wrote:
> I will try to have one by this afternoon.
Or: are there OL 2.11 examples that exhibit the issue?
--
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@camptocamp.com
http://www.camptocamp.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111011/d394964d/attachment-0001.html
------------------------------
Message: 3
Date: Tue, 11 Oct 2011 11:25:07 -0700
From: Vishal Mehta <vishalm1975@gmail.com>
Subject: Re: [OpenLayers-Users] Re: how to add php/postgresql query
        result as        Geojson layer to openlayers
To: Gabriele Seitz <ml-seitz@web.de>
Cc: users@openlayers.org
Message-ID:
        <CALQaJh599xVjTRPd-BbAHnT6kzGFT8cpO71DmRy9QBKzODyMGw@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
Another way would be to use the postgis extension to postgresql to store
spatial tables, which can then be exported to GEOJSON format.
http://www.postgis.org/documentation/manual-1.5/ST_AsGeoJSON.html
On Mon, Oct 10, 2011 at 11:36 PM, Gabriele Seitz <ml-seitz@web.de> wrote:
> Hi,
>
> I never tried ist myself before, but there is a GeoJSON Example at
> http://www.openlayers.org/dev/examples/geojson.html
>
> Basically yuo should use var geojson_format = new
> OpenLayers.Format.GeoJSON();
>
> Hope this helps.
>
> Gabriele
>
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/how-to-add-php-postgresql-query-result-as-Geojson-layer-to-openlayers-tp6876808p6879775.html
> Sent from the OpenLayers Users mailing list archive at Nabble.com.
> _______________________________________________
> Users mailing list
> Users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
--
Vishal K. Mehta, PhD
Scientist
Stockholm Environment Institute - US
133 D St Suite F
Davis CA 95616
www.sei-us.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20111011/797a73f6/attachment-0001.html
------------------------------
Message: 4
Date: Tue, 11 Oct 2011 21:25:46 -0700 (PDT)
From: section_two <jmperricone@hotmail.com>
Subject: [OpenLayers-Users] Markers
To: users@openlayers.org
Message-ID: <1318393546071-6883612.post@n2.nabble.com>
Content-Type: text/plain; charset=us-ascii
Hi, Im from Argentina.
Im using OSM with openlayers. I have to put features in zoom 18. But markers
appers allign , not perfect pixel position. What is the problem ? How can I
fixit to show me the markers where I want.
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Markers-tp6883612p6883612.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
------------------------------
_______________________________________________
Users mailing list
Users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
End of Users Digest, Vol 61, Issue 16
*************************************</pre>
                </div>
        </div>
</blockquote>
<p style="margin:0px; padding:0px;" >
        Ā </p>
</span></span>