Closed (works as designed)
Project:
Cartaro
Version:
7.x-1.0-beta2
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Nov 2012 at 13:48 UTC
Updated:
27 Nov 2012 at 07:45 UTC
Hello,
I'm struggled trying to find the way to add a new custom layer to the Cartaro map. I created the Layer using postgis and already checked it in Geoserver's layer preview, my problem starts when I try, with Drupal user interface, to include that custom layer as a new layer for the Cartaro map (as the "capital" demo layer is), I can't find the way/options to do it, Shall I enable the Views module? or should I do it directly coding into the html file?.
Any help or orientation would be appreciated,
Thanks and best regards,
Rafa
Comments
Comment #1
augustus.kling commentedYour layer must be known to Cartaro or included using a service such as WMS.
To add your layer to the front end map ensure it is listed in Structure → OpenLayers → Layers. If it is missing there configure it using the Add link above the list.
Then navigate to Structure → OpenLayers → Maps and edit frontmap. You can enable your layer from the list that appears after clicking the Layers & Styles tab.
There is no need for the Views module or writing code manually.
Comment #2
kingkastle4004 commentedThanks Augustus,
Following your instructions I accomplished it!
Many thanks
Comment #3
augustus.kling commentedComment #4
IKE0088 commentedThis worked flawlessly! Thanks so much. One question though, I cannot seem to get any of the features/attributes using WMS layer. It shows perfectly in Geoserver Openlayers preview but cannot get any information when clicking any of the polygons in Cartaro.
Comment #5
augustus.kling commentedFor the reference: Friedjoff's comments in #1837012 should answer comment 4.