Configuring content type and usage example
Last updated on
30 April 2025
This how-to assumes that the basic Mapstraction CCK config steps were performed.
- On The Content Types page create the content type that will contain the mapstraction CCK field
- Go to the Manage Fields page and add field for the map. Choose "Geospatial Data" type
- Click the Configure hyperlink for the Mapstraction CCK field you created
- In the Basic Information section add a label and choose "Mapstraction Map"
- In the Global Settings section choose Number of values - that is the number of Mapstraction objects (points, lines, polygons) the user can draw into map. Choose the Data type - one of the object types the drop-down lists. For some reason in version 6.x-1.x-dev or older you can only select one type. Save the page.
- Click the "Display fields" button that is next to the "Manage Fields" button on the Manage Fields page
- On the Track Map field select "Mapstraction CCK Single Map" option in the "Full node" column. You might want to do the same in the "Teaser" column. Save the page.
- In the User Management > Permissions make sure you grant all necessary privileges for the mapstraction field to the desired user group.
- Now go ahead and create content using the content type that contains the Mapstraction field. There should be a map on the page with 3 hyperlinks above its upper edge. Use the "Add New Feature" one, to create Mapstraction objects (double click to end drawing lines). Once created, objects can be modified by entering the Edit mode by clicking the "ActivateEdition" hyperlink. After finishng editing, click the "Deactivate Edition" hyperlink to get out of the Edit mode.
Videotutorials
There are some videotutorials about module configuration and use available at the Project page.
Text is in Spanish, but it can be very useful for module users
Help improve this page
Page status: Not set
You can:
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion