I understand.. I'm sure this solution is very good but unfortunately I MUST
(and I'm not happy of this) use an Oracle db and I haven't access to it
(cannot configure extensions, plugins, etc.).
So the only way for getting the coords is querying them with a SELECT
statement from a php page and
Hi all,
I'm struggling with a peculiar set up: we have a WMS layer in OpenLayers
(within a GeoExt web interface) invoking a MapServer string (e.g.
http://mydomain/cgi-bin/mapserv.exe?map=someMapFile.mapetcetc).
Now we need to split the dataset into several layers.
We tried by instanciating n
Hello everyone,
I followed one of the examples provided by openlayer, to allow users to draw
geometries:
http://svn.openlayers.org/sandbox/stvn/arcgis-server/examples/wkt.html
I have, for the geometry designed, an info window containing the
coordinates in WKT format;
Can someone help me
Hi,
Is it possible to symbolize a wfs Layer using an sld stylesheet?
Thanks,
Rob
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Hello,
Yes it is, OL supports the usage of an SLD with vector layers such as
WFS or GML, but its slow and it does have its limitations. If you can it
is better to have those layers rendered through WMS telling the server
which SLD to use
On 01/09/2010 08:16, Robert Buckley wrote:
Hi,
Is
Sure, check out the sld.html example. This works with Layer.GML, but the same
should apply to Layer.Vector.
Best regards,
Bart
--
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html
Bart van den Eijnden
OSGIS
bart...@osgis.nl
On Sep 1,
Hi,
I am actually trying to load a shapefile into openlayers and have all the
attributes listed into a table under the map. I have completed this using a wfs
layer, but am now looking at getting some
scale dependant symbols into the map as well with the use of an SLD file.
Is there maybe a
hi paolo,
you've got to have a database with GIS extension. I use mysql. mysql 4.1 and
above supports GIS and spatial extension.
my application is written in php with mysql. I use phpmyadmin to manage my
db
inserting can be as simple as this
-
BMcBride,
Thanks a lot! Finally i found a way how to use the proxy with IIS. Works
perfect for me!!
Cheers,
B
--
View this message in context:
http://osgeo-org.1803224.n2.nabble.com/proxi-cgi-configure-to-read-any-WMS-or-WFS-url-services-tp5480390p5486968.html
Sent from the OpenLayers Users
Hey Alberto,
I've had luck using PHP with a SELECT statement on a MySQL database to write
a KML file for use in OpenLayers. As long as your query returns a
relatively small subset of features (500) and your users have a snappy
connection with a decent browser, you should be OK using this
hi thanks for the reply, I have a question then as to be amended this
statement ( OpenLayers.ProxyHost = /cgi-bin/proxy.cgi?url=; ) for file
proxy.php since the requests are not processed or the system is awaiting a
response.
Thanks again and suggest
Ricardo Rodríguez
Univalle
Ricardo,
Use this:
OpenLayers.ProxyHost = proxy.php?url=;
-
Bryan R. McBride, GISP
http://www.bryanmcbride.com bryanmcbride.com
http://geoserving.net/ geoserving.net
--
View this message in context:
thanks!
First of all I have to create a script that retrieves the string on the
server, and then an insert query in geodabase (like the one you suggested),
this is the right procedure?
regarding the script I can elaborate on some one that already exists?
because I'm not able to write a new one
On Wed, Sep 1, 2010 at 12:09 AM, Joe Public joepub1...@gmail.com wrote:
Hey OL
I'm trying display the data associated with a feature (point) in a vector
(WFS) layer using the script below
When I click on the feature I get the message:
No QUERY_LAYERS has been requested, or no queriable
I had a need for simply displaying thousands of css styled points from a SQL
Server db (no need for click handlers) and ended up creating a custom tiled
vector layer. The points are created as img tags. I can even swap the
style sheet on the fly to change thematics without having to post
hi, not work OpenLayers.ProxyHost = proxy.php?url=; I have to change
something in the script, aside from this there are more scripts proxy of
this type.
thanks for the help and time
Ricardo Rodríguez
Univalle
___
Users mailing list
I am trying to figure out a way to intercept an event which causes the
rendering of the features on a vector layer.
Basically I need to modify line features before they are rendered but after
a zoom has been requested.
So I registered the moveend event on the layer with my line features, which
Hello,
I'm a quite new user to openlayers, so there must be a lot of things I don't
understand...
I tried to convert between coordinates in pixels of the position of the
mouse, over a map.
I tried this
http://carriernicolas.open-web.fr/ressources/essais_de_code/openlayers_test.html
little piece
I tried that sort of conversion :
var point = map.getLonLatFromPixel(position);
locDisp.innerHTML = (point.lat / 4000 * 360 ).toFixed(4)+
', ' +
(point.lon / 40065035.535 * 180).toFixed(4);
which seem to give results in the good ranges.
But is it really the
On Sep 1, 2010, at 2:20 PM, huit_six wrote:
I tried that sort of conversion :
var point = map.getLonLatFromPixel(position);
locDisp.innerHTML = (point.lat / 4000 * 360 ).toFixed(4)+
', ' +
(point.lon / 40065035.535 * 180).toFixed(4);
which seem to give
On Sep 1, 2010, at 3:31 PM, ext Alex Dean wrote:
On Sep 1, 2010, at 2:20 PM, huit_six wrote:
I tried that sort of conversion :
var point = map.getLonLatFromPixel(position);
locDisp.innerHTML = (point.lat / 4000 * 360 ).toFixed(4)+
', ' +
(point.lon /
dear BMcBride and RFeagin,
If you send me your works I'll give them a try!!
Actually I've managed creating a geojson object from the php page that
executes the query.
The geojson featurecollection is echoed inside the main page so I have it
inside the openlayers script/script
I know it's not a
This page may help if you're using a vector layer:
http://docs.openlayers.org/library/feature_styling.html
Cheers
Adam
On 2/09/2010, at 12:02 AM, Robert Buckley wrote:
Hi,
I am actually trying to load a shapefile into openlayers and have all the
attributes listed into a table under the
Hi All,
The maxExtent map option doesn't seem to be carried over to an XYZ type
of layer. Looking at the initialize function of an XYZ layer, I see the
maxExtent is hardcoded whereas it is not in e.g. a Google type. Why is
that so ? The difference in behaviour means we can't use a
On Sep 1, 2010, at 4:41 PM, ext Yves Moisan wrote:
Hi All,
The maxExtent map option doesn't seem to be carried over to an XYZ type
of layer. Looking at the initialize function of an XYZ layer, I see the
maxExtent is hardcoded whereas it is not in e.g. a Google type. Why is
that so
Hello David,
Thanks for your reply, i have followed your recommendations and have now 2
vectors layers containing same type of data but with coordinates adapted to
each side of the date line (-179 becoming +181 in one file and 179 becoming
-181 in the other).
vectorsWest = new
I next to resolve, but I've got this problem now:
I manage in passing all parameters needed, but I encountered an error on the
GET string generated by OL:
The String passed to the WMS Server to obtain feature info is this:
hi all,
starting from the Drag-feature example (
http://openlayers.org/dev/examples/drag-feature.html) I need to limit to 1
the number of points which can be added to the vector layer
if the user, after having added one point, clicks again, the first point is
deleted and only the newly created
Hi,
you could do something like:
1) use sketchstarted event to limit the number of features to 1
2) use the featureadded event to set your form field
Example code (just for reference, copy/paste from another project):
new OpenLayers.Layer.Vector(Sketch, {
I finally find the solution!
The problem was related to the IIS and proxy.cgi that I needed in my WebApp
directory.
I followed the zhuhua zha's solution at the post:
http://osgeo-org.1803224.n2.nabble.com/Solution-to-proxy-for-WFS-request-on-IIS-td1830924.html
--
View this message in context:
I use the http://osgeo-org.1803224.n2.nabble.com/file/n5469364/proxy.php
proxy.php script from Mapbuilder, which works well with OpenLayers and does
not require manually configuring allowed domains:
http://docs.codehaus.org/display/MAP/Downloads.
-
Bryan R. McBride, GISP
Thanks for the help. I see that the 'default' style is being used to
render the vertices, but I still don't understand how to prevent
'undefined' labels from being applied to them.
I did look at the code for
OpenLayers.Control.ModifyFeature.collectVertices, but I'm not sure
what to do
Hello everybody,
I need to display a set of points that comes from a query to a database.
The information associated with the point is simply ID, X_COORD, Y_COORD.
I can write a php page that executes the query and I can get the results in
javascript using a xmlhttprequest (ajax).
I need to show
I've been working on something like 'display georeferenced point', and I did
like that:
- associate the X/Y coordinates with a geometry in the database (using
PostGIS extension to a PostgreSQL database;
- import the database in an istance of GeoServer (which can reproject your
points in all the
If you take the wrapDateLine.html example, http://gentoo/OpenLayers-
2.9.1/examples/wrapDateLine.html, and use it as is, zoom in one level and
Sorry. My local URL isn't going to help anyone.
http://openlayers.org/dev/examples/wrapDateLine.html
___
(not confident that my 1st post made it in the queue)
Hi, all. I realize that vectors are tricky as they cross the dateline, but the
behavior from FF to IE is different against the same WMS source which suggests
that the problem is on the client side and not the server side.
If you take the
Hi, all. I realize that vectors are tricky as they cross the dateline, but the
behavior from FF to IE is different against the same WMS source which suggests
that the problem is on the client side and not the server side.
If you take the wrapDateLine.html example,
Ok I was finally able to figure this out. When I add my overview map layers
which I have predefined to the actual map it gets all messed up in terms of
size/zoom etc. But when I just create a few layers specifically for the
overviewmap only and then *dont* add these layers to the map but only add
Hi,
The features have no values = undefined, but a status of undefined. So
your comparison can not work.
The only idea I have, is to set i.e an attribute show=yes for features,
that should be labeled. And add the below rule:
var PolygonSymbolizer = { fillColor: ${color},
I am trying to get a layer tree to work from the tutorial located here -
http://geoext.org/tutorials/layertree-tutorial.html
Not sure exactly what I am doing wrong but previously I have a working
openlayers map with many layers defined. Do I have to actually add a map
panel to get this to work
Hey OL
I'm trying display the data associated with a feature (point) in a vector
(WFS) layer using the script below
When I click on the feature I get the message:
No QUERY_LAYERS has been requested, or no queriable layer in the request
anyways
I've used both
Hi list,
I have a vector layer which is labeled, I`m giving a string variable
to be labeled, the string variable contains \n for line breaking ,
but the label is not breaking into several lines, any idea how this
could be done?
regards,
Imran
--
I.R
Good morning
I am currently working in the pacific area from Indonesia to Polynesia and
need to display pie charts based on population statistics.
I followed this tutorial
http://thematicmapping.org/playground/openlayers_piecharts_geojson_google_chart.php
and am really impressed by styling
When I define my own styling for a vector layer, I see 'undefined' at
the vertices while editing a feature.
Screenshot of feature when I'm not editing it :
http://skitch.com/alexdean/dwe1i/without-editing
Screenshot of feature while editing:
http://skitch.com/alexdean/dwe14/with-editing
Hello Sylvain,
While not the most efficient, you can create 3 features for each item. If
you are creating Point features, convert them to MultiPoint, LineString to
MultiLineString, and Polygon to MultiPolygon.
Place one set in the X coordinaties -180, one set in the X coordinates
-180 and
Hi,
Most likely it's the label, what's undefined.
OpenLayers use the default style for rendering the vertices and in this
context the attribute 'name' isn't defined. Were your color undefined, then
the renderer would use black to render the features, but doesn't display a
text message.
If you
I am having issues defining a custom layer for my overview map. Is it
possible to use a layer that is not the base map? What I am trying to do is
use 3 custom layers for my overview but I don't want these layers to be
visibile in the layerswitcher (which is easy) or the actual map itself
(which I
So as soon as I define a custom layer for my overview (layers: [layerName])
my overview map just goes back to the maximum zoom levels and all of the
options I am setting for it have absolutely no effect. Can I set the options
for the specific layer I am adding to the overview instead?
--
View
hello, how proxi.cgi configure the file so that you receive any connection
so that my web application can read any WMS or WFS url without having to
register it manually, but that is enabled for this pair of services is not
possible link to other requests
thanks for the help and time
Ricardo
There is not Google V3 support in 2.9.1.
Try 2.10 RC1.
Best regards,
Bart
--
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html
Bart van den Eijnden
OSGIS
bart...@osgis.nl
On Aug 29, 2010, at 6:38 AM, P Kishor wrote:
I have the
Right, the constructor for the Scale Control is a bit different:
/**
* Constructor: OpenLayers.Control.Scale
*
* Parameters:
* element - {DOMElement}
* options - {Object}
*/
initialize: function(element, options) {
Hi Imran,
the first argument is the geometry which marks the center of the circle. In my
case this is an already existing geometry but you can create a point yourself
Cheers Kris
Met vriendelijke groet, Kind regards,
Kristiaan Geusebroek
Consultant
On Aug 28, 2010, at 2:27 PM, Imran Rajjad
On Sun, Aug 29, 2010 at 3:12 AM, Bart van den Eijnden bart...@osgis.nl wrote:
There is not Google V3 support in 2.9.1.
Interesting. That is in spite of the example at
http://openlayers.org/dev/examples/google-v3.html
Is the version included in the above example 2.10 RC1?
The funny thing is, I
Hi Puneet,
the dev examples are run off OpenLayers trunk.
To get RC1, check out the instructions here:
http://trac.openlayers.org/wiki/Release/2.10/Announce/RC1
Best regards,
Bart
--
Looking for flexible support on OpenLayers or GeoExt? Please check out
http://www.osgis.nl/support.html
On Sun, Aug 29, 2010 at 3:12 AM, Bart van den Eijnden bart...@osgis.nl wrote:
There is not Google V3 support in 2.9.1.
Try 2.10 RC1.
Sorry, no success. I replaced my OpenLayers to the hosted version of
OpenLayers-2.10RC1, and used the code below. The Google layer shows,
but my Counties
On Sat, Aug 28, 2010 at 8:35 AM, Alexander Petkov green...@gmail.com wrote:
Hi:
I am trying to follow the example for the GetFeature control shown here:
http://openlayers.org/dev/examples/getfeature-wfs.html
Problem code is here:
http://wfas.smoke-fire.us/testapp/examples/getfeature-wfs.html
On Aug 29, 2010, at 11:51 AM, ext P Kishor wrote:
On Sun, Aug 29, 2010 at 3:12 AM, Bart van den Eijnden bart...@osgis.nl
wrote:
There is not Google V3 support in 2.9.1.
Try 2.10 RC1.
Sorry, no success. I replaced my OpenLayers to the hosted version of
OpenLayers-2.10RC1, and used
Hi list,
It seems as if when we insert a geometry into a vector layer, the
bounds of the layer remain unchanged, in my case I have created a raw
geometry and added it to a vector layer as feature, but when I set the
map's extent to the this vector layer , openlayer is not considering
the new
Hi all,
I want to create my own map layer for a small city for my project.
I have the road network of the city in kml format.
what are the steps involved for creating image of map layer at different
zoom levels, also please suggest me the softwares required for this process.
Regards,
Madhuri
Have you read this thread, with its summary of IE performance issues?
http://osgeo-org.1803224.n2.nabble.com/IE-IE7-IE8-in-compatible-mode-support-for-OpenLayers-td5469496.html#a5469496
IE gives poor performance in other mapping APIs like Googles and even Bing.
You may have to wait for an IE
Hi:
I am trying to follow the example for the GetFeature control shown here:
http://openlayers.org/dev/examples/getfeature-wfs.html
Problem code is here:
http://wfas.smoke-fire.us/testapp/examples/getfeature-wfs.html
Basically, I cannot get an indication that the events for the
GetFeature
I meant bake-off.
On Fri, Aug 27, 2010 at 2:01 PM, Lance Norskog goks...@gmail.com wrote:
Here is the same little graph database program in several APIs:
http://nosql.mypopescu.com/post/405045629/get-a-taste-of-graph-databases-infogrid-and-neo4j
Something like this for geo libraries would be
I have the following, simplest possible code. Works without gmaps
layer, but no WMS shows up when gmaps layer is included. What is it
that I am doing wrong?
script type=text/javascript
function init(){
var lon = -90.397;
var lat = 45.93;
var zoom =
// the following works
var cs = new OpenLayers.Control.Scale();
cs.div = document.getElementById(scale);
this.map.addControl(cs);
// The following also works
this.map.addControl(new OpenLayers.Control.MousePosition({div:
document.getElementById(coords)}));
// The following does not work. Why?
Since geometries in OpenLayers are planar, this is a bit tricky. What you can
do is set the wrapDateLine option of your base layer to true, then you will at
least have an infinite space in longitudinal direction.
Regards,
Andreas.
On Aug 27, 2010, at 01:28 , Ricardo Rodríguez wrote:
hello
On Aug 27, 2010, at 07:52 , Slawomir Messner wrote:
1. Is this the recommended way to work with styles or is there a better
way? Is there maybe already a tool?
You have several options, as styling has evolved in OpenLayers 2.0. For the
recommended way of client-side styling in OpenLayers,
Hello,
sorry for asking stupid newbie questions but I fail to get the
proxi.cgi working.
I followed the FAQ description:
http://trac.openlayers.org/wiki/FrequentlyAskedQuestions#ProxyHost
I've installed Apache 2.2.13 on SUSE11.2 via rpm.
Apparently the default cgi-bin is under /srv/www/cgi-bin
After replacing special characters, passing the url to the browser, it
happens that the url is not valid due to the absence of the map parameter
requested from mapserver.
I tried to add the map parameter and also to pass it directly in the url
parameter as you can see below:
info = new
Thanks for the very fast and detailed answer.
We cannot render features at the server and send them as an image,
because we want them editable and the look and feel of a desktop tool. I
works well but not every part fits together. (I hope it changes with
your hints.)
I think it would be also
Hi Sven,
Just some thoughts/questions:
* What is the exact server message?
* Is your test.cgi a python cgi?
* Can proxy.cgi find the pythoin executable?
* On a terminal on that machine issue
which python
This should give you the path to the python executable
Hi Marc,
1.) Browser indicates: waiting for localhost and finally:
urlopen error [Errno 110] Connection timed out
2.) mytest.cgi indeed wasn't Python but Perl. However, I changed it to Python
Content:
#!/usr/bin/python
print Content-type: text/html\r\n\r\n;
print Python CGI
Ok, I've one...two questions.
When I shouldn't use
style.styles[default].defaultStyle[attribName]
then how can I change ..let's say fontSize... for the whole layer?
Create a new Style and replace the old one?
And how to change the fontSize dependent on the map resolution. Is it
possible by
On Aug 27, 2010, at 11:42 , Slawomir Messner wrote:
Ok, I've one...two questions.
When I shouldn't use
style.styles[default].defaultStyle[attribName]
then how can I change ..let's say fontSize... for the whole layer? Create a
new Style and replace the old one?
var defaultStyle =
Hi Sven,
Is there some firewall active on the server?
What do you see if you enter http://example.com/cgi-bin/proxy.cgi in
your browser manually? When called without parameters, it'll try to
access www.openlayers.org.
You should see the OpenLayers Homepage served by your proxy (You'll need
Cool project,
One more thing, add to your stylemap
labelSelect: true
so the user will be able to click on the text and not only on the point.
Thomas
2010/8/26 Tim Alder tim.al...@s2002.tu-chemnitz.de
Thanks a lot.
The result is now:
Hi,
I was wondering, how feasible would it be to rotate a layer before displaying
it, both for WMS and WFS? The idea is to display the interior of any building
rotated by a certain angle X (which is either user defined or calculated for
each building) to display a 'nice' view to people who are
Hi,
the firewall is off.
Entering http://example.com/cgi-bin/proxy.cgi
manually in the browser brings up the following message:
Not Found
The requested URL /cgi-bin/proxy.cgi was not found on this server.
Apache/2.2.3 (CentOS) Server at example.com Port 80
entering
Hi Sven,
are you using another proxy to access URLs in your network? I found this
Mailinglist discussion
http://mail.python.org/pipermail/python-list/2008-December/569855.html
If that is still not doing the trick, I',m afraid I am running out of
ideas soon.
Regards,
Marc
On 27.08.2010
Hi Sven,
If you are having troubles with the CGI proxy script, you could always use a
PHP proxy script. The
http://osgeo-org.1803224.n2.nabble.com/file/n5469364/proxy.php proxy.php
script from Mapbuilder works well with OpenLayers:
http://docs.codehaus.org/display/MAP/Downloads
All,
Is there any official or relatively complete written up on the IE support of
OpenLayers? E.g. what is working and what is not working etc? I see a little
this and a little that on several specific bug or so but thing gives people
a clear overview of how OpenLayers works in IE. Any idea?
Hi Eric,
after filing the ticket
http://trac.openlayers.org/ticket/2812
I got a message from Ilias, because he had to deal with the same
problem. His solution to add to the selectCtrl an onUnselect and in this
function to call
highlightCtrl.unhighlight(feature);
works fine for me. The two
http://trac.openlayers.org/wiki/Browsers
OpenLayers functions identically in all major browsers, including IE. Some
things occasionally slip through the cracks and end up not working correctly in
some browsers even though all new development requires automated tests.
Anything that comes up
OpenLayers fully supports IE7 and IE8, the latter in both compatible and native
mode.
This means that everything you can do in other supported browsers, you can also
do in IE.
IE specific bugs exist because IE is much different from other, more standards
compliant browsers. The biggest
On Fri, Aug 27, 2010 at 3:37 PM, Christian Niemitz-Rossant
c...@m-click.de wrote:
Hi Eric,
after filing the ticket
http://trac.openlayers.org/ticket/2812
I got a message from Ilias, because he had to deal with the same problem.
His solution to add to the selectCtrl an onUnselect and in this
When you include your map parameter in the base URL, do you get a
valid WMS URL?
On Fri, Aug 27, 2010 at 3:12 AM, Kiks enrico.o...@gmail.com wrote:
After replacing special characters, passing the url to the browser, it
happens that the url is not valid due to the absence of the map parameter
Thanks a for the summary.
On Fri, Aug 27, 2010 at 6:53 AM, Andreas Hocevar ahoce...@opengeo.orgwrote:
OpenLayers fully supports IE7 and IE8, the latter in both compatible and
native mode.
This means that everything you can do in other supported browsers, you can
also do in IE.
IE specific
Here is the same little graph database program in several APIs:
http://nosql.mypopescu.com/post/405045629/get-a-taste-of-graph-databases-infogrid-and-neo4j
Something like this for geo libraries would be really useful.
--
Lance Norskog
goks...@gmail.com
Hi Pierre.
The queryVisible property only allows filtering of layers which are visible.
Visible in this sense are layers which in the layer switcher are marked as
visible.
Thus not visible by whether a layer displays any features inside the visible
area on the screen. It would be nice to have
I have some troubles using feature selection with highlight and toggle:
In the OpenLayers example highlight-feature.html I replaced the line 55
which is
{clickout: true}
by
{toggle: true}
Then I applied these steps
1. move cursor on the left triangle = triangle is highlighted
2. click on the
Hi Marc,
thanks for your hints. I have php installed. Actually I used the MS4W
(Mapserver for windows) package.
One thing I tried is:
From the example code in postgis-terminal.html I changed
action = ./process-spatial-query.php to action =
http://localhost/process-spatial-query.php; and the
Original-Nachricht
Datum: Thu, 26 Aug 2010 09:17:22 +0200
Von: Maik Juks j...@gmx.de
An: users@openlayers.org
Betreff: Re: [OpenLayers-Users] OpenLayers Book by Jansen and Adams
Hi Marc,
thanks for your hints. I have php installed. Actually I used the MS4W
(Mapserver for
You can do something like:
styleMap = new OpenLayers.StyleMap({'default':{
label : ${label},
fontColor: ${fontColor},
fontSize: 11px,
labelAlign: ${labelAlign},
pointRadius: 2,
this statement works as well:
http://localhost/process-spatial-query.php?command=Select%20St_asText%28St_GeometryFromText%28%27POINT%2810%2010%29%27%2C%204326%29%29
Original-Nachricht
Datum: Thu, 26 Aug 2010 09:21:59 +0200
Von: j...@gmx.de
An: users@openlayers.org
Betreff:
Hi Maik,
if the URL below works, everything else (including these
http://openlayers-buch.de/beispiele/chapter-09/nice-queries-for-postgis-console.sql)
should work.
As this is not directly related to OpenLayers -- it is very likely not
an OpenLayers issue/problem you have -- I suggest taking
Hi list,
I`m trying to draw a circle geometry with a radius of 30m, currently
I`m calculating lat/long of each vertex from the centre , i was hoping
if this could be done through openlayers
regards,
Imran
--
I.R
___
Users mailing list
Thanks Marc. You are right it is not a OL issue. It was me :-)
I opened the html in a browser -- not working.
using localhost for accessing the html document solved the problem.
btw: Great book!
Original-Nachricht
Datum: Thu, 26 Aug 2010 12:44:01 +0200
Von: Marc Jansen
is there a possibility to switch the overview map on switching the base
layers?
Br
Ramesh
___
Users mailing list
Users@openlayers.org
http://openlayers.org/mailman/listinfo/users
Have you tried the polygon control?
// set up the polygon control, for drawing a circle
polyOptions = {sides: 40};
polygonControl = new OpenLayers.Control.DrawFeature(circleLayer,
OpenLayers.Handler.RegularPolygon,
{handlerOptions: polyOptions});
hi,
yea I checked this example but I`m not sure what is 40? is it a pixel
value or some default unit.?
regards,
Imran
On Thu, Aug 26, 2010 at 5:01 PM, Ralph Dell rd...@catawbacountync.gov wrote:
Have you tried the polygon control?
// set up the polygon control, for drawing a circle
It will give you a polygon with 40 sides. While not technically a circle it
works very well at looking like a circle.
Ralph Dell, GISP
GIS Dept.
Catawba County, NC
-Original Message-
From: Imran Rajjad [mailto:raj...@gmail.com]
Sent: Thursday, August 26, 2010 8:16 AM
To: Ralph Dell
1 - 100 of 14131 matches
Mail list logo