Hi, I wonder if/how it is possible to display multiple locations stored in the database (introduced into database with the mapstraction_cck map widget). Possibly using the Views module? So far my attempts to do this were unsuccessful.
2nd question - what is the "Mapstraction CCK Grouped Map" field type for? The name would indicate that maybe this is what I need to address my need, but I could not find any info about the field type and how to use it.
Thank you
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | Dibujo.jpg | 58.54 KB | plopesc |
Comments
Comment #1
plopescHi!
You can show the locations stored in the database in a map selecting the field formatter Mapstraction CCK Single Map or Mapstraction CCK Grouped Map.
Comment #2
sano commentedThank you for reply, but I guess I am not getting the context in which your advice works. Where do I select "...the field formatter Mapstraction CCK Single Map or Mapstraction CCK Grouped Map"?
Here is description of the use case I am trying to implement:
I have a content type that allows users to create a location-specific node, geotagged by lat/long coordinates provided by the user clicking onto a mapstraction_cck map widget on a page based on this content type. I (will eventually) have many such records in the database.
I would like to create a new content type containing map widget that will show all of the locations entered by the users as described above. Ideally this "summary" page should allow its creator to limit selection of the displayed data by date entered (for example).
Could you please provide more detailed instructions or point me to relevant documentation/examples?
Comment #3
plopescHi, you can see a link to a demo page at module's principal page. At http://cmsmap.idelab.uva.es you can work with this demo page.
Mapstraction CCK allows you yo show the node's locations in a map in the teaser view or full node view. To do this, you should go to Content types ->"Your content name" ->display fields and you can select the different formatters provided by this module.
Comment #4
sano commentedYeah, I know how to display a node location on a map - that is not my problem. I described the problem I have in the use case posted in my previous reply. Is there anything I could add to it that would make it more clear?
Thank you
Comment #5
plopescHi,I think the best option for your goal is to use a view, but now, Mapstraction CCK is only a CCK widget and doesn't provide views support.
Views full support is one of our future goals, but it is not supported yet.
Comment #6
sano commentedViews support would be a great addition to an otherwise well made and useful module (I used it at www.nabezky.sk). I hope it will happen. I am not a PHP programmer (yet), but please let me know if there is any other way I can help to get it done.
Comment #7
plopescWe are working now about Views support.
We hope that it will be available soon.
Comment #8
plopescHi,
Views support has been integrated in the Mapstraction CCK module.
Now you can test this new feature and give us feedback about it.
Thanks!!
Comment #9
sano commentedexcellent - I will check it out and let you know.
Thank you.
Comment #10
sano commentedI tried to create a view on my site attempting to combine data from WKT fields of several nodes into one Mapstraction CCK map but I was not successful. I posted a question about documentation of this feature to the Mapstraction CCK documentation page.
Comment #11
plopescFields showed in the mapstraction CCK views module map must be Geospatial fields.
Ithink that the problem you have shown in your capture may be due to the field properties.
You can try a view in the demo page.
This view shows locations fine and you can see field properties in the image attached.
Thanks!