Zh OpenStreetMap, new feature – article overview map

Extensions
Hi. - switched to use fields (mapid, groupid, overrideid) instead of select clause - moved code (for reuse) placemark and path creation - in lists (maps, groups, overrides) a category now is displayed (if defined) - new feature: article overview map module - fixed: powered by Logo(link) - fixed: wrong popup content for k2 overview map if enabled for map ajax loading popup content As for article overview map - in documentation today evening I'll add example to use and update this post (to add link to docs). Now you have ability to create overview map of articles. Update: here link to documentation https://wiki.zhuk.cc/index.php/Zh_OpenStreetMap_Article_Overview_Map
Read More

Zh OpenStreetMap, visualization – new features and parameters

Extensions
Hi. In Visualization section now created Server section, where you can configure your external server. As for "Driver" field, for MySQL you can use mysql or mysqli values, for ms sql server use mssql Now you can set for first and last point of your data markers. It can be done in "Structure" part. There is "Line" tab with two blocks for markers. If field "Marker" set to "No" - marker is not displayed. If you not enter "Title" or "Description" - the values will be taken from path properties. You can manage what information will be in popup and what action by click on marker - it is paths properties. Also path properties - "site url" and "site name" you can use too. Addition HTML text (as it done…
Read More

Zh OpenStreetMap, new feature – visualization

Extensions
Hi. Added some improements and features - map override - published state now is processed - visualization - sql data sources - structures - paths and placemarks body creation moved to separate files Now you can create SQL data source, describe its structure and use it in visualization (display paths based on this SQL clauses) Here examples for visualization which explains how to do it ;)
Read More

Zh OpenStreetMap feature to correct refresh map size when display on tabs

Extensions
Hi. In some cases you want to display maps on tabs. And if you show in on inactive tab and when click on it, you can get map with incorrect map size. The other case - when you show it on first tab (correctly) but change to the other tab and change browser window (for example maximize). In this case you can also get wrong size. Look at result image To fix it. Just create Override On Map tab enter your tab selector (ID or class). Select Invalidate Type One time - the container will be invalidated only on first time when you display map (show tab with map)Always - the container will be invalidated each time you display map (show tab with map) Case Always you can use in…
Read More

Zh OpenStreetMap, K2 overview map can correctly clear map for AJAX filter

Extensions
Hi. In K2 overview map you can set clear map by reset buttons when use AJAX requests for filter data. Here example, how configure K2 overview module and where you can get name and classes Form div you can find You need form div to correct find buttons, because on page you can have a few buttons with the same name. In my case I have div ID, and use it for access To find buttons In my case I have only classes (submit and reset), and I use it for access
Read More

Zh OpenStreetMap new features – import placemarks

Extensions
Hi. I added import placemarks from CSV file (like it is done in Zh GoogleMap), check its documentation (for OSM I hope I'll write it next month) https://wiki.zhuk.cc/index.php/Zh_GoogleMap_Description#Import_CSV I change view for Import from Zh YandexMap and Import from Zh GoogleMap from popups to native joolma style Fixed a few bugs (undefinite php variables). Fixed bug from last release for case - placemarks has different groups and enabled clusterization (it were not displayed in some cases)
Read More

Zh OpenStreetMap, new KML and GPX file parser

Extensions
Hi. I added 2 types into paths for File Layers* KML (Internal Parser)* GPX (Internal Parser) Check documentation for using KML and GPX files Now you can use internal path definition (from file), flexible show popups and tooltips. Use clusterer for placemarks and other features. I fixed CSS problem for map and popup (if popup has image), then for popup I set max-width=100% In component options I added map height - now you can define map height in admin panel (for map, placemark and path definition).
Read More

Zh OpenStreetMap, you can fix map size when you publish map on tabs

Extensions
Hi. I did easy way to fix incorrect map size when you display map on tab, for example on not active tab. Here example. You create tabs, and publish map on the second tab when you click on second tab to show map, you'll get wrong map You can see not all tiles, and it doesn't refresh correctly when you draggin map. Now how fix it. Create Map Override. On Map tab enter container selector in jQuery notation, where map div is located, ie tab div which displayed/hidden when you click on tabs. Assign this override to map, go to map details, in advanced options there is a list of available overrides. And you'll see you map like
Read More