Zh OpenStreetMap, placemark rating is enabled

Extensions
Hi. I enable feature to use rating for placemarks. Just set way to call in map details, on Advanced options tab, field Placemark Rating The main thing of how I check do you already vote - if you didn't connect - I check by IP + HOST + placemark ID- if you connected - I check by User + placemark ID And if I found record of vote, I show message "You have already voted" My rating system differs from common case. In common examples rating and count votes stored in fields of object (placemark), and just correct when created new vote.I store all votes and calculate by it when new one vote and after that update summary field. Ie if you update field, then when new vote comes, it…
Read More

Zh OpenStreetMap, new option

Extensions
Now my js files have VERSION in case discovering problem when your installation is not correct work in CDN servers, ie in some cases new release is not correctly install (not update JavaScript files) In component options added new parameter "Load delay". It is done - for some reasons you need to start map initialization with delay.
Read More

Zh OpenStreetMap, you can use icons for placemarks from GPX file

Extensions
Hi. I added ability to use your icons for placemarks from GPX file. Before today you have 2 options- have default Leaflet icons for placemarks- override icons by assign group to your path, set your icon in group definition and in path definition set "Override placemarks". In this case your icon set for all placemarks from GPX file It was done due to GPX file has simple definition for icon, for example Flag, Red And in this case I can't correct set icon. Now I added 2 folders (for case compatibility mode for resource files, check my docs). /www/administrator/components/com_zhosmmap/assets/gpx/www/components/com_zhosmmap/assets/gpx In this folders you can upload your icons like it named in GPX file, with extension png. Ie just take icon, rename it for example Flag, Red.png and upload. When you…
Read More

Zh OpenStreetMap, visualization for placemarks

Extensions
Hi. I added ability use visualization for placemarks. Now when you create placemark you can set latitude/langitude or/and link to visualization. If link is done, all properties from placemark will be used for creation visual placemark. Moreover, you can override popup content and icon by setting its data in structure (added new columns definition). You can override:* Title* Description* Addition HTML text* Date of creation* Icon Type If you set that you will use your own data (title or description or addition HTML text) - all predefined data for placemark in this case will be skipped. Ie you can't mix your data in popup and placemark data in settings. Documentation will be changed tomorrow.
Read More