Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: trunk
-
Component/s: mapbuilder-lib
-
Labels:None
Description
In the mapbuilder 0.3 define the layer with a static
image doesn't worked.
<Layer queryable="0" hidden="0">
<Server service="wms" version="1.1.0" title="wms">
<OnlineResource xlink:type="simple"
xlink:href="../../lib/skin/rge/images/franceDepartements.png"
/>
</Server>
<Name>toto</Name>
<Title>Departements</Title>
</Layer>
This email thread from Cameron/Mike is of relevance to this bug:
—
Yes that might be a better approach, ie. Define the image in the Context
doc.
Mike
>> ----
Original Message---->> From: Cameron Shorter cameron.shorter@gmail.com
>> Sent: June 23, 2006 6:50 AM
>> To: Adair, Mike
>> Cc: 'John Mitchell'; mapbuilder-devel@lists.sourceforge.net
>> Subject: Re: [Mapbuilder-devel] I would like to replace my
>> locator map whi ch iscurrently pointing
>> toxlink:href="http://www2.demis.nl/mapserver/Requ est.asp?"
>> toinstead point to a JPG file that I have on my server.
>>
>> Mike, yes I think this is the way to fix the problem in 1.0.
>>
>> On the trunk, where we are using OWS Context, I think we
>> should create an image layer in the Context.
>>
>> Adair, Mike wrote:
>
>>> > Hi,
>>> >
>>> > That's in our to-do list:
>
>> http://jira.codehaus.org/browse/MAP-51 but I
>
>>> > don't think anyone has addressed that yet. It shouldn't be
>
>> set as a
>
>>> > <defaultModelUrl> for a context doc because it's an image.
>
>> I rather
>
>>> > see this as perhaps an optional MapPane property? E.g.
>>> > <mapImage>myJpgFile.jpg</mapImage> that somehow MapPane
>
>> would use for
>
>>> > the image source.
>>> >
>>> > mike
Original Message---- >> From: Cameron Shorter cameron.shorter@gmail.com