Template:Zh OpenStreetMap Description MapOverrides: Difference between revisions
Jump to navigation
Jump to search
m (→Placemark) |
m (→Placemarks) |
||
Line 56: | Line 56: | ||
{|class="zhpropertytable" | {|class="zhpropertytable" | ||
|- | |- | ||
|class="zhproperty"|Cluster list Content Template||class="zhdescription"|Template for cluster list content | |class="zhproperty"|Cluster list Content Template||class="zhdescription"|Template for cluster list content<br /> | ||
You can create your own cluster list item template | |||
Go to '''/components/com_zhosmmap/templates/placemarks/cluster_list''' | |||
Create your own php file with your own code. ''Default.php'' file is default template. You can copy its code and change to your own | |||
After that your new template will be in this list | |||
|} | |} | ||
Revision as of 14:01, 23 December 2019
Creating Map Override
This feature can help you to override static text for map objects or change its behaviour (or properties).
You can define override and use it for map by assign in map details
Override
Title | Map Override Title |
Description | Description |
Published | Published |
Category | The category that this override is assigned to |
Map
Invalidate Map Size Container Selector | jQuery selector to find container where map div is located in case you need to redraw map. For example when your map is not on an active tab and when you click to show it your map is displayed incorrectly For example #sppb-tab1-2 |
Invalidate Map Size Container Index | In some cases you can access to tab only by index. Index starts with 0 |
Invalidate Type | How often invalidate map container
|
Placemark
Popup Style | Default Popup Style for all popups |
Date of creation format | Date and time format for placemarks date of creation. Use PHP DateTime format For example jS F Y g:i a |
Placemarks
Cluster list Content Template | Template for cluster list content You can create your own cluster list item template Go to /components/com_zhosmmap/templates/placemarks/cluster_list Create your own php file with your own code. Default.php file is default template. You can copy its code and change to your own After that your new template will be in this list |
Placemark List
In this section you can define text for placemark list objects.
Button title | Placemark list button title |
Button tooltip text | Placemark list button tooltip text |
Placeholder text: Search | You can override text Search in placemark list search field |
Autocomplete search type | Search type in case of using autocomplete feature
|
Character mapping type | Character mapping in case of entering search string in placemark search field with wrong keyboard layout
|
Synonym applying side | Source, where synonym will be applied.
|
Synonyms - accents, diacritical marks and so on | Synonyms, each pair separated by comma or semicolon, in pair values separated by colon. Enter values only for lower case or if it has different symbols. Example é:e; è:e; ê:e |
Character Mapping | Character mapping for wrong keyboard layout, each pair separated by comma or semicolon, in pair values separated by colon. Enter values only for lower case or if it has different symbols. Example q:й; w:ц; e:у; r:к; t:е; y;н But for different symbols for letter in different case `:ё; ~:Ё |
Group List
Placeholder text: Search | You can override text Search in placemark list search field |
Autocomplete search type | Search type in case of using autocomplete feature
|
Character mapping type | Character mapping in case of entering search string in placemark search field with wrong keyboard layout
|
Synonym applying side | Source, where synonym will be applied.
|
Synonyms - accents, diacritical marks and so on | Synonyms, each pair separated by comma or semicolon, in pair values separated by colon. Enter values only for lower case or if it has different symbols. Example é:e; è:e; ê:e |
Character Mapping | Character mapping for wrong keyboard layout, each pair separated by comma or semicolon, in pair values separated by colon. Enter values only for lower case or if it has different symbols. Example q:й; w:ц; e:у; r:к; t:е; y;н But for different symbols for letter in different case `:ё; ~:Ё |
Button tooltip text | Tooltip text for panel button |
Details tab title | Title for placemark details tab in panel |
List tab title | Title for placemark list tab in panel |
Route tab title | Title for route tab in panel |
Groups tab title | Title for groups tab in panel |
Integration
Open Google Maps title | Change title for link or toolbar button to open Google Maps |
Geocoder placeholder text | Placeholder text for text input |
Geocoder error message | Message when no result found or geocoding error occurs |