Hi,
I did some changes a while ago with the following style definition
because I had too long layer names. I didn't have to mess up with the
hardcode. Am I not understanding the question?
.olControlLayerSwitcher {
font-size: x-small !important;
padding-right: 50
P Kishor wrote:
> is there a way to change the fonts in the layerswitcher control short
> of fiddling with the hard coded styles in LayerSwitcher.js
> loadContents method?
>
Unfortulately not. But patches to move these style definitions to css
are more than welcome. One hint though: the LayerSw
is there a way to change the fonts in the layerswitcher control short
of fiddling with the hard coded styles in LayerSwitcher.js
loadContents method?
loadContents: function() {
//configure main div
this.div.style.position = "absolute";
this.div.style.top = "25px";
The displayClass of the lon/lat mouse position is "olControlMousePosition",
so if you go to style.css (which should've been included in the .zip file)
you can just change the "bottom" property to any value that fits your needs.
Phil Scadden wrote:
>
> At moment, it displays in lower right of m
fsalas wrote:
>
> In this time , I have openlayer 2.8 and be studying the filter.html
> example.
>
> my question is
>
> 1. ¿ How I can use the WMS Layer with filter?
>
If you want to do it the OGC way, you have to add a SLD_BODY param with
an SLD that contains the filter and the symbology you wa
P Kishor wrote:
> On Thu, Sep 10, 2009 at 1:21 PM, Andreas Hocevar wrote:
>> So if you are still willing to contribute, a patch for that would be nice.
>> If you do not want to follow the procedure on
>> http://trac.openlayers.org/wiki/HowToContribute, then please let me know
>> what you would lik
I don't know what it's called, but you know when you click on a polygon (for
example) there is a point that appears in the middle of it for you to click
and drag? And then for resize/rotate, there is that same point that appears
on the polygon's bottom-right corner that you can use to drag around
On Thu, Sep 10, 2009 at 1:21 PM, Andreas Hocevar wrote:
> So if you are still willing to contribute, a patch for that would be nice.
> If you do not want to follow the procedure on
> http://trac.openlayers.org/wiki/HowToContribute, then please let me know
> what you would like to read in the docs
P Kishor wrote:
> Per the docs for Control
>
> "Controls by default are added to the map they are contained within
> however it is possible to add a control to an external div by passing
> the div in the options parameter."
>
> which is followed by the example
>
> "var control = new OpenLayers.Cont
Hey-
P Kishor wrote:
> Per the docs for Control
>
> "Controls by default are added to the map they are contained within
> however it is possible to add a control to an external div by passing
> the div in the options parameter."
>
> which seems to be completely not like the source code at
> http:/
Darren Karstens wrote:
> Hi,
> The layers of my map load quite slowly and so I need a way of informing my
> users that the map is still loading. I have had a look at the LoadingPanel
> addon which looks ok but I was wondering if there is a way of having a
> loading message on the blank tiles that h
One more thing, I tried using the Sample Requests page in GeoServer and I got
different responses depending on whether or not I append "?strict=true" to
the URL.
POST: (with "?strict=true")
http://www.opengis.net/wfs"; service="WFS"
version="1.1.0" xsi:schemaLocation="http://www.opengis.net/wf
Hi,
Set extractStyles to false
and add the following style to your layer after layer creation. It should
also be possible to declare the style in the layer constructor.
var styleMapLabel = new OpenLayers.StyleMap({'default':{
strokeColor: "#00FF00",
strokeOpacity: 1,
strokeWidth: 3,
I had a suspicion that IE didn't like floating point numbers in this case.
Multiplying with 10 fixes the symbol defined by [0.5,0, 10,8, 0,8, 0.5,0]
But when I use the definition [2,0, 4,5, 0,5, 2,0] which only contains integers,
IE will render it incorrectly. Strangely, multiplying this definitio
The suggested fixes to my code work and OpenLayers is indeed accepting string
"true" and boolean true to the transparent parameter.
Thank you all very much.
--
View this message in context:
http://n2.nabble.com/transparent-param-not-sent-to-WMS-service-tp3615475p3617464.html
Sent from the Ope
On Thu, Sep 10, 2009 at 8:14 AM, Christopher Schmidt
wrote:
> On Wed, Sep 09, 2009 at 10:59:34PM -0500, P Kishor wrote:
>> Per the docs for Control
>>
>> "Controls by default are added to the map they are contained within
>> however it is possible to add a control to an external div by passing
>>
On Thu, Sep 10, 2009 at 08:26:27AM -0500, sunny74 wrote:
>
> Dear Friends,
>
> I want to have the lonlat from the mouseover event.
> For this I have written the following code for trapping the event,
>
> map.events.register("mouseover", map, function(e) {
> var lonlat1 = map.getLon
Dear Friends,
I want to have the lonlat from the mouseover event.
For this I have written the following code for trapping the event,
map.events.register("mouseover", map, function(e) {
var lonlat1 = map.getLonLatFromViewPortPx(e.xy);
//alert(lonlat1);
var
On Thu, Sep 10, 2009 at 10:12:00AM +0200, seis4...@web.de wrote:
> When I query an object on my new server I get the following error messages:
> In a pop up window:
> "Unhandled request return Unexpected Error."
> In Firebug:
> "500 Unexpected Error" (after 3m 9s)
This is not an OpenLayers problem
On Wed, Sep 09, 2009 at 10:59:34PM -0500, P Kishor wrote:
> Per the docs for Control
>
> "Controls by default are added to the map they are contained within
> however it is possible to add a control to an external div by passing
> the div in the options parameter."
>
> which is followed by the ex
On Thu, Sep 10, 2009 at 02:09:30PM +1200, Phil Scadden wrote:
> At moment, it displays in lower right of map. However, if you use google
> layers , the copyright notice tend to obscure it unless well zoomed in.
> How do you move it to say top right? I can see how to add to an external
> div, but
In this time , I have openlayer 2.8 and be studying the filter.html example.
my question is
1. ¿ How I can use the WMS Layer with filter?
Best Regards
___
Dirección de Comunicaciones
Grupo Empresarial GEOCUBA
Este mensaje esta libre de virus.
Revisado por Kas
In this time , I have openlayer 2.8 and be studying the SLD.html example but
it's work with XLM file.
my question is
1. ¿ How I can use the WMS Layer like this example?
¿ This is incorrect?
Best Regards , Salas
___
Dirección de Comunicaciones
Grupo Empresarial
Hi list,
i debugged a bit deeper into my problem using this code
this.controls['snap'].setLayer(this.activeLayer);
this.map.addControl(this.controls['snap']);
//this.controls['snap'].setLayer(this.activeLayer);
this.controls['snap'].activate();
co
Hi,
Doing the modification to MouseWheel.js solves the problem. I'll appreciate if
you can CC me when a final solution is found.
Thanks in advance!
--
Manel Clos
-Mensaje original-
De: Bart van den Eijnden (OSGIS) [mailto:bart...@osgis.nl]
Enviado el: miércoles, 09 de septiembre de 20
Hi list,
I've set up a "new" server for my OpenLayers application using the FGS project
(UMN MapServer 5.4, OpenLayers 2.8, PostgreSQL/PostGIS).
On the "old" server my application is working fine and I can query the objects
displayed on my map (WMS). The result of an GetFeatureInfo-Request is d
Hi,
just add cursor: default to the css class of the panzoombar in your css.
.olControlPanZoomBar {
cursor: default;
}
Best regards,
Bart
>
> Hello,
>
> Thanks for this tip. I changed the cursor for panning as mentionned below.
> But can you also please tell me how to get the plain arrow cur
Hello,
Thanks for this tip. I changed the cursor for panning as mentionned below.
But can you also please tell me how to get the plain arrow cursor back when
pointing/clicking at the standard OL navigation panel ( f.i. the
scale-slider )? Because, of course, it keeps the last cursor changed to, b
Hello,
I works for me when using the transparent as a property, so like this :
var wmslayer = new OpenLayers.Layer.WMS("layername","http://...";,
{ layers:
'blabla', transparent: "true",...},
Hi,
In doing this webmap I have sample here:
http://forest2002.essc.org.ph/test_map/
What I want next is to:
1. show kml layer label in the map for each polygon (mapsheet name and number)
2. highlight color for the selected feature, either this one:
http://openlayers.org/dev/examples/highlight-fe
30 matches
Mail list logo