From version 13.3
edited by Fawad Ali
on 2019/07/17 08:06
To version 14.1
edited by Fawad Ali
on 2019/07/17 10:28
Change comment: There is no comment for this version

Summary

Details

ExtensionCode.ExtensionClass[0]
Description
... ... @@ -16,9 +16,9 @@
16 16  For creating a point that is to be included inside the map,
17 17  
18 18  1. Create a page with your desired contents. The title and content of the page will appear as a popup to the point.
19 -[[image:1-paris-page.png]]
19 +{{image reference="1-paris-page.png" width="600px"/}}
20 20  1. Add an object of type Maps.Code.PointClass to the page. The **location** attribute accepts either coordinates (latitude, longitude) or name of the location.
21 -[[image:2-paris-pointobject.png]]
21 +{{image reference="2-paris-pointobject.png" width="600px"/}}
22 22  We use a name to specify our location but we can also use coordinates. For example, the value could be **48.8566, 2.3522** for Paris.
23 23  
24 24  Multiple points can be created like this to include inside a single or multiple maps.
... ... @@ -29,9 +29,9 @@
29 29  
30 30  1. Go to the space where you want to create the map and click the **Create** button.
31 31  1. Choose **Map** from the available templates and create the page.
32 -[[image:3-paris-create-map.png]]
32 +{{image reference="3-paris-create-map.png" width="600px"/}}
33 33  1. A list of configurable options will appear. If you leave a field empty, its default value will be used.
34 -[[image:4-paris-map-config.png]]
34 +{{image reference="4-paris-map-config.png" width="600px"/}}
35 35  A detailed description of each configurable option is given at the end of this section.
36 36  1. Click **Save & View** to view the map.
37 37  
... ... @@ -65,11 +65,11 @@
65 65  
66 66  Search allows searching of map items or a location on the map. If search for a location is made, the map will move to that geographical location even if it is not a point of interest. Search for map item will narrow down the points of interest included in the map.
67 67  
68 -[[image:5-map-search.PNG]]
68 +{{image reference="5-map-search.png"/}}
69 69  
70 70  Filters specify solr search facets which define map item results that belong to a category.
71 71  
72 -[[image:6-map-filters.png]]
72 +{{image reference="6-map-filters.png" width="600px"/}}
73 73  
74 74  For now, custom facet fields can be added by editing **$solrConfig** variable on **Maps.Code.CommonMacros** page. Better options for configuring facet fields will be added soon.
75 75  
... ... @@ -77,7 +77,7 @@
77 77  
78 78  A map can easily be shifted to fullscreen mode for a more dedicated and wide view.
79 79  
80 -[[image:7-fullscreen-mode.PNG]]
80 +{{image reference="7-fullscreen-mode.png" width="600px"/}}
81 81  
82 82  === Custom marker icon ===
83 83  
... ... @@ -85,7 +85,7 @@
85 85  
86 86  1. Go to the point page. (page with Maps.Code.PointClass object)
87 87  1. Rename your image so that it starts with the word **marker**. For example, **marker_paris.png** or **markerGermany.png**. Names like **germanyMarker.png** that do not begin with marker are not accepted.
88 -[[image:8-custom-marker-icon.png]]
88 +{{image reference="8-custom-marker-icon.png" width="600px"/}}
89 89  1. Attach the image to the point page.
90 90  
91 91  === Map data importer ===
... ... @@ -95,7 +95,7 @@
95 95  == Sample Maps ==
96 96  
97 97  {{gallery}}
98 -[[image:sample-map-1.png]]
99 -[[image:sample-map-2.png]]
100 -[[image:sample-map-3.png]]
98 +{{image reference="sample-map-1.png"/}}
99 +{{image reference="sample-map-2.png"/}}
100 +{{image reference="sample-map-3.png"/}}
101 101  {{/gallery}}

Get Connected