Closed (fixed)
Project:
Mapping kit
Version:
6.x-1.x-dev
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2009 at 23:41 UTC
Updated:
4 Dec 2009 at 19:06 UTC
Jump to comment: Most recent file
Comments
Comment #1
jpulles commentedDid you have a look at http://aardbodem.nl/?q=node/63 for an example?
Comment #2
anzolnet commentedYes, of course I went through all the examples :). I tried this:
[map layers="1" 1="image|http://......removed.by.author....gif|Alcsutdoboz|1581,953" maxextent="18.58451048893344,47.4205039234949,18.59907686456423,47.426444383954" width="580" height="288" projection="EPSG:4326"/]
The image appears as a base layer, but distorted. If I give add baselayer, the basemap and the overlay displays separately.
What I would like to achieve is something like you can see on the attached screenshot. This was created with Google Earth (the KML file also attached).
Comment #3
jpulles commentedSorry it doesn't work. The image seems to be meant as a baselayer itself, and not to display an image on top of e.g. google maps. See also http://openlayers.org/dev/examples/image-layer.html.
Comment #4
anzolnet commentedThat's a bad news for me :(
And what about a KML, which contains an overlay picture? That shouldn't work either?
Comment #5
jpulles commentedAt the moment I cannot check it, but you can easily check this by defining a kml layer to show your kml file. See e.g. http://aardbodem.nl/?q=node/72. I don't know if OpenLayers supports all types of kml; I expect only support for points and vectors, and only when not crossing the international date line.
Comment #6
anzolnet commentedChecked but failed. :(
Thank you for your effort, and keep up the good work, beside my personal issue the Mapping kit a nice module :)
Comment #7
chrisgnicholas commentedgreetings - I am an admitted to both Drupal and the mapping kit, trying to follow the examples, and generally trying to establish an editable OpenLayers WFS within this framework. This is for the new UN-SPIDER portal, as per: www.un-spider.org .
So...I see everywhere: 'Maps can be added to content by setting the input format to 'Inline maps' and entering a map definition using square brackets and an appropriate set of parameters. [map param="value" /] '
Maybe I'm stupid, but browsing all the various admin dialogs, I don't see anywhere that I can input free-form text definitions of this nature; but I do see in content building a way to build 'layers', etc. Within this dialog, I want to add a WFS layer, repeatedly select this option and save it, but keep getting 'WMS' as the type. Looking deeper, at the entry in the Drupal DB, in 'mapcontext_layers', I see:
2, 2, 1, 'http://localhost:8070/geoserver/ows?service=WFS', '1.1.0', 'topp:tasmania_state_boundaries', '', 0, 0, 1, 1, 0, 0
turning on debug, I see:
theme mapclient: [map projection="EPSG:4326" extent="-180,-90,180,90" baselayers="none" title="Tasmanian sample" layers="1" 1="wms|http://localhost:8070/geoserver/ows?service=WFS&VERSION=1.1.0 |Tasmanian sample|topp:tasmania_state_boundaries|queryable=true"/]
How do I get it to be WFS, other than manually changing the Mysql entry?
Also, sage advice, RTFMs, etc, as to how to incorporate a text-based dialogue for geocoding greatly appreciated.
thanks!
Chris Nicholas
Comment #8
chrisgnicholas commentedok - found in the administrator dialog where to set to 'inline maps' ....
on safari!
Chris
Comment #9
jpulles commented