- Posts: 2
- Thank you received: 0
Advanced Placemark List design
- daneel
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago #6447
by daneel
Advanced Placemark List design was created by daneel
Hi.
Thanks for a great extension.
I need some help to create grouping for placemark list. I can't find a good way to do this.
The site is using the map to show customers in different countries, the list should reflect the different countries (as headings) and then the customers names beneth.
Example:
and so on.
All placemarks can be visable on the map, I can't seem to find the right way to solve this problem.
Currently I'm using external layout to show the list, but I can't control the order?
Any help is appreciated!
Thanks in advance,
Daniel
Thanks for a great extension.
I need some help to create grouping for placemark list. I can't find a good way to do this.
The site is using the map to show customers in different countries, the list should reflect the different countries (as headings) and then the customers names beneth.
Example:
Sweden | Denmark |
company in sweden | company in denmark |
and so on.
All placemarks can be visable on the map, I can't seem to find the right way to solve this problem.
Currently I'm using external layout to show the list, but I can't control the order?
Any help is appreciated!
Thanks in advance,
Daniel
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
9 years 7 months ago - 9 years 7 months ago #6449
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Advanced Placemark List design
Hi
Today you can't get automatically this type of list, ie grouped by some parameters.
You can:
1 - show placemarks in flat list, and ordered by your case
1.1 - you can assign each placemark Group, after that set ordering by group
1.2 - you can assign each placemark Sorting Index and use it for ordering
2 - you CAN do what you want by MANUAL placemark list, for this:
- use component call (ie menu item Map)
- enable "Enable Support External Link to Placemark"
- create any layout you want
- in "a href" use call javascript function PlacemarkByIDShow(p_id, p_action, p_zoom)
where
* p_id - placemark ID
* p_action - action, it can be
**click
**center
**click,center
* p_zoom - zoom on click
p_zoom - it is optional parameter
If you need more details for 2, I can create little tutorial
Example for placemark with id 15:
Today you can't get automatically this type of list, ie grouped by some parameters.
You can:
1 - show placemarks in flat list, and ordered by your case
1.1 - you can assign each placemark Group, after that set ordering by group
1.2 - you can assign each placemark Sorting Index and use it for ordering
2 - you CAN do what you want by MANUAL placemark list, for this:
- use component call (ie menu item Map)
- enable "Enable Support External Link to Placemark"
- create any layout you want
- in "a href" use call javascript function PlacemarkByIDShow(p_id, p_action, p_zoom)
where
* p_id - placemark ID
* p_action - action, it can be
**click
**center
**click,center
* p_zoom - zoom on click
p_zoom - it is optional parameter
If you need more details for 2, I can create little tutorial
Example for placemark with id 15:
Code:
<a id="myLink" title="Click to do something"
href="#" onclick="PlacemarkByIDShow(15,center);return false;">link text</a>
Don't forget support my developments: post review in JED , donate , help with translation
Last edit: 9 years 7 months ago by Dima.
Please Log in or Create an account to join the conversation.
- daneel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 7 months ago #6471
by daneel
Replied by daneel on topic Advanced Placemark List design
Thanks for the answer.
Is there a way to use grouping och calling many placemarks at once with suggestion 2? There are many placemarks that should be shown and I'd like to make it simple for my client to make changes...what other javascript calls are there? Are they documented?
For future I'd like to be able to group placemarks and call a placemark group with the <ul id="GMapsMarkerUL"> function. That would be very easy to control!
Thanks for all help.
Best regards,
Daniel
Is there a way to use grouping och calling many placemarks at once with suggestion 2? There are many placemarks that should be shown and I'd like to make it simple for my client to make changes...what other javascript calls are there? Are they documented?
For future I'd like to be able to group placemarks and call a placemark group with the <ul id="GMapsMarkerUL"> function. That would be very easy to control!
Thanks for all help.
Best regards,
Daniel
Please Log in or Create an account to join the conversation.
Time to create page: 0.195 seconds