jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Community Mapbuilder
  • MAP-51

set the locator map with an image Submitted Virginie Berre SF - 1220313

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Trivial Trivial
  • Resolution: Fixed
  • Affects Version/s: trunk
  • Fix Version/s: trunk, 1.5alpha2
  • 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>

Activity

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Cameron Shorter added a comment - 25/Jun/06 1:29 AM

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

Show
Cameron Shorter added a comment - 25/Jun/06 1:29 AM 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
Hide
Permalink
Gertjan van Oosten added a comment - 16/Feb/07 4:16 AM

Hmm, I cannot reproduce this. Specifying an image URL insetad of a WMS URL in the locator map ViewContext works, e.g.:
<OnlineResource xlink:type="simple" xlink:href="http://communitymapbuilder.org/download/userResources/MAP/logo" />
shows the MapBuilder green frog.
Note that the original reporter may just have had the (relative) path to the image wrong, maybe a "../" too few or too many.

Show
Gertjan van Oosten added a comment - 16/Feb/07 4:16 AM Hmm, I cannot reproduce this. Specifying an image URL insetad of a WMS URL in the locator map ViewContext works, e.g.: <OnlineResource xlink:type="simple" xlink:href="http://communitymapbuilder.org/download/userResources/MAP/logo" /> shows the MapBuilder green frog. Note that the original reporter may just have had the (relative) path to the image wrong, maybe a "../" too few or too many.
Hide
Permalink
Andreas Hocevar added a comment - 05/Nov/07 3:31 PM

Tested with the frog logo on the locatorMap of the "complete" example; image is rendered correctly by OpenLayers.

Show
Andreas Hocevar added a comment - 05/Nov/07 3:31 PM Tested with the frog logo on the locatorMap of the "complete" example; image is rendered correctly by OpenLayers.

People

  • Assignee:
    Unassigned
    Reporter:
    Linda Derezinski
Vote (0)
Watch (0)

Dates

  • Created:
    15/Jan/06 2:52 PM
    Updated:
    18/Dec/07 4:29 PM
    Resolved:
    05/Nov/07 3:31 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.