A bit long winded, but we use the “GetLegendGraphic” Request to request the
graphic for each class and then place them in a div outside of the map (div
could be placed on top of map as well). The "LAYER" is your class name for that
particular layer. I cannot recall why we never used GetLegend -
In a way http://olarchitect.com/ does this, but that is more to provide a
GUI interface for a back-end developer to create a quick map. That said,
through browsing nabble you could quite easily create a map in a day or two
that has:
Basic controls
Layer chooser
Measure tool
Pick coordinate
Some o
Hi reena - here is an example from our application using the
"GetFeatureInfo" response from a mapserver based WMS. In your mapinit you
need to register the click event and call a function:
map.events.register('click', map, function (e) {
getAssetNode(e);
});
Then your
As far as I am aware it is not possible through the api, however you could
do something like:
Document.getElementById("OpenLayers_Control_PanZoom_panleft").style.display=
'none';
Etc
Using firebug you can determine what the different div's are called
(panright, pandown etc)
>From what I can see
Hi all
As part of the Foss4g conference, I see there is a code sprint set for the
Saturday. I will probably not be able to make that, so apart from that, are
there any plans for us users to meet the great folk who have made open
layers possible? Is there going to be a stand? Or perhaps we could
Does your map div have a style with width and height set? - i.e.
#map{
width:500px;
height:500px;
border:1px solid;
}
Other than that, I We have placed ours in a table before - so that should
not be a problem. I may be missing something, but your code looks ok
The div is a normal ht
Wendell
If I understand you correctly, you want to display your images as a mosaic
of tiles. This question was asked last week, and the answer was to setup a
raster WMS, that serves the images. Chris provided some links (see below)
for doing it with mapserver (which we have found to excellent at s
When we incorporated Jquery within an openlayers application the $ was
conflicting with Openlayers and we had to do the following:
JQ=jQuery.noConflict();
$=null;
All Jquery calls would then be called using JQ instead of $
I imagine you will be having the same
Ok, please forgive my late night googling skills (tired eyes!), and thanks
for the prompt response. If i look at that link you have said:
"Generally, the answer is 'no, and why are you still using a Layer.Text?
Use a Layer.GML with a format: OpenLayers.Format.Text and a
selectFeature control inst
Hi all
I have been searching for a way to implement the frameclod popup for a text
layer (as in the "markerstextlayer.html" example). Has this been done? I am
even willing to modify the Text.js file, but do not know where to start :).
Any guidance or pointers would be appreciated - thanks Andrew
How accurate do you need it?. We use a basic function to determine distance
based upon the earth's radius. This IS NOT accurate, but, does work for our
purposes. This functions gets the distance by passing in a vector feature
function ShowMeasureDistance(feature) {
-mapserver-ka-map-td6531
054.html#a6531054
Currently there is no workable option for mapserver. I am interested to know
if other geoserver or mapnik users experience the same problem.
Andrew
From: kusum [mailto:[EMAIL PROTECTED]
Sent: 13 March 2008 08:41 AM
To: Andrew de Klerk; users
Hi kusum
This is not really an openlayers issue. You are probably using mapserver to
generate a WMS. This is a known issue when creating tiles. Labels are
repeated for each tile in the case of polygons, and are sometimes cut
off/duplicated for lines. Unfortunately, there is no real workaround f
@openlayers.org
Subject: Re: [OpenLayers-Users] Google Summer of Code 2008
On Tue, Mar 11, 2008 at 11:45:43PM -0700, Andrew de klerk wrote:
>
> Hi all
>
> I have had a look at the trac for this cited on the dev mailing list, and
am
> not sure if this is the appropriate place for this
Hi all
I have had a look at the trac for this cited on the dev mailing list, and am
not sure if this is the appropriate place for this suggestion, but here
goes.
Linda Rawson suggested to include plugin development for openlayers as part
of te summer of code. I was reminded of this when I saw th
Sindile
The filtering of your dropdowns would have to be done in the backend outside
of openlayers. That is, in your database design you would need to associate
municipalities with specific provinces, and towns with specific
municipalities. When a user selects a province the dropdown would then
Marvelous - I will look at that, and see if it meets my needs - Thanks
-Original Message-
From: Andreas Hocevar [mailto:[EMAIL PROTECTED]
Sent: 30 January 2008 10:39 AM
To: Andrew de klerk
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] Vector/GML Thematic
Andrew-
Andrew de
Hi All
I remeber reading somewhere that presenting a GML with a thematic (i.e.
different colours for different polygons based upon a Field atrtribute) was
currently under development, but I cannot seem to find the development
code..Is this true, or am I missing something completely and its is
To add to what Chris said. If you right click on the image and choose
properties and then copy the url and paste it into a new browser window -
what happens - do you get an error returned or an image?. That will allow
you to test it outside openlayers and determine if it is a mapserver
problem.
A
>
> -LK
>
>
>
> From: [EMAIL PROTECTED] on behalf of Lee Keel
> Sent: Mon 1/14/2008 2:12 PM
> To: Andrew de klerk; users@openlayers.org
> Subject: Re: [OpenLayers-Users] Pink Tile Killing Me
>
>
&
This is definately not a solution to the reason why the tiles are coming up
pink...but the following code makes it look less "error-like"
OpenLayers.Util.onImageLoadErrorColor = "transparent";
Andrew
Arnd Wippermann wrote:
>
> Hi,
>
> I have the same problem with IE and OL. When IE failed to
Arnd Wippermann wrote:
>
> Hi,
>
> I have the same problem with IE and OL. When IE failed to load a tile, it
> shows the pink background. Then after some attempt(s) the tile will load,
> but the pink background don't vanish. I use png as output format, but I
> have
> also tried with gif. But i
Eric
It happens with me using the editingtoolbar example. Remember that one of
the vector tools must be selected when hitting refresh
Andrew
Eric Lemoine-3 wrote:
>
> On Dec 19, 2007 12:37 PM, David E. Reksten <[EMAIL PROTECTED]> wrote:
>> On 19/12/2007, Eric Lemoine <[EMAIL PROTECTED]> wrote:
Hi Eric
Sorry to answer in this thread, but the question was raised here..Hard
refresh = Ctrl F5, but it actually happens on a straight f5 as well
Andrew
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Eric Lemoine
Sent: 19 December 2007 01:16 PM
To: Dav
Hi all
I was wondering what the supported browsers are for openlayers. I have
encountered a minor bug related to IE7 and when a geometry tool is selected
(point, line or polygon) when the users hard refreshes the page ( I have
logged this ticket). But, the reason why I ask is that I have notice
owser
renders using SVG?
Andrew
Eric Lemoine-3 wrote:
>
> On Dec 12, 2007 9:03 PM, Andrew de klerk <[EMAIL PROTECTED]> wrote:
>>
>> Thanks...that is an oversight :)
>>
>> Any clues as to why it works in IE without vector support built in?
>
> Be
Thanks...that is an oversight :)
Any clues as to why it works in IE without vector support built in?
Christopher Schmidt-4 wrote:
>
> On Wed, Dec 12, 2007 at 11:55:53AM -0800, Andrew de klerk wrote:
>>
>> Hi all
>>
>> I have recently build a single file with t
Hi all
I have recently build a single file with the intention of only including the
components i need. My cfg content are detailed below. What i find odd
(granted i do not know enough about the difference between different
browsers) is that vectors work fine in IE7, but not at all in firefox or
o
Tim (or anyone else)
understanding that your code is still in test mode etc, I am trying to
implement your measure control into a panel toolbar, but am battling to
translate your example to what i need. this is what I have so far:
var mt = new OpenLayers.Control.Measure(OpenLayers.Handler.Path,
mailto:[EMAIL PROTECTED]
Sent: 06 December 2007 10:59 PM
To: Andrew de Klerk
Cc: users@openlayers.org
Subject: Re: [OpenLayers-Users] Control Panel Multiple Tools with different
icons
On Thu, Dec 06, 2007 at 10:45:49PM +0200, Andrew de Klerk wrote:
> The measure tool will be implemented us
Hi all
I will try and explain my problem as best as I can without confusing you. I
have searched the forum's but have not found a solution to my problem. I am
trying to implement a toolbar using the control Panel. My toolbar will
contain the following tools:
Zoom Extent
ZoomBox
Pan
Select f
31 matches
Mail list logo