fx - RADIAL SPHERES SETTINGS
RadialSpheres spheres |
Attention: For using Isochrones a HERE appcode and appid are required!
The values for nearly all features may be entered as calculated formulas or variables. |
For detailed information about notation in this dialogs go to chapter The fx‑editor. |
RADIAL SPHERES SETTINGS |
||
---|---|---|
SETTING / VALUES |
EXPLANATION |
|
|
|
|
true Spheres basically enabled false Spheres basically disabled (default) |
Feature to basically enable or disable the Radial Spheres Layer. |
|
true Spheres menu button enabled false Spheres menu button disabled (default) |
This feature enables a further button in the menu bar (as well as in the touchscreen menu, when activated), which offers to add Spheres (or Pins) manually at run time. The Spheres can also be deleted again and they can be used as a selection tool. If you click on the Spheres button, you switch to the "set-Spheres-mode". Now you can add any number of Spheres to your map. In this mode PopUps, selections and other functions are deactivated. To confirm and exit this mode, click the button again. At this point the "delete-Spheres-button" is enabled automatically. By clicking it always the last added Sphere will be deleted. Detailed information about all buttons and menus in the object see chapter Userinterface. |
|
coordinates coordinates Spheres center coordinates |
Set the coordinates of the Sphere center or several coordinates for various Spheres with different centers. Notation: Basically there are three different ways to load the coordinates: oLoad coordinates out of the Sense data model, both coordinates (lat. and lon.) are in one column. oLoad coordinates out of the Sense data model, coordinates (lat. and lon.) are in two separated columns. oOne or more coordinates are filled in manually. Example for loading coordinates out of the Sense data model: Latitude and longitude are in one column: Latitude and longitude are in two separated columns: Formula templates like this are in every Dialog. Example for filling in coordinated manually: Tip: You can also use coordinates in Encoded Polylines format - more information at developers.google.com. |
|
image path file path of an image, displayed in the center of all Spheres |
Set the name (and path) of an image to display it in each Sphere center. C:\Users\[username]\Documents\Qlik\Sense\Extensions\NPGeoMapSense[...]\images If the file is saved directly in "images" only the file name has to be set here. Otherwise the image path after "images" has to be given as well. Example file in "images": "image": "image.png" Example file in further sub folder "logos": "image": "logos\image.png" |
|
In combination with setting the feature "distance" below to 0 Pins can be created. This may be helpful for marking points on the map. Suitable are especially images of flags (like for example the supplied file "flag.png"). If the distance is 0 only the image will be displayed. Make sure to enable both "active" features (above and below) as well as the the feature "menu" above to set Pins manually on the map - learn more about the menu here. It's also possible to use so called "animated GIFs" to display moving images (for example the supplied file "Demo\anim_arrow.gif"). |
||
imagesize number width of the image in pixel - height is calculated automatically (default is 30) |
Configure the size of the image set above. |
|
|
|
|
In this section are features to set a selection type, size (distance/radius), appearance (colors, transparency, line style) and PopUps with Sense visualizations for Spheres. |
||
active true Spheres of this kind respectively in this block enabled false Spheres of this kind respectively in this block disabled (default) |
Each of the individual blocks of concentric Spheres in this array can be enabled or disabled with this feature. |
|
number defines which type of Marker will be selected within the Sphere (default is 1, StartMarkers) |
Spheres can be used as a selection tool, especially to take intersection selections or to determine catchment areas. 0 = all Markers 1 = only (start)Markers 2 = only Endmarkers More details about Markers and Endmarkers in chapter Dynamic Marker Layer. |
|
type number Sphere type (default is 0, Radial Sphere) |
Define the kind of Sphere: 0 = Radial Sphere (circle) 1 = Isochrone Time (catchment area in minutes) 2 = Isochrone Distance (catchment area in kilometers or miles) Explanation: |
|
number percentage of Polygon points inside Sphere to cause a selection or a count (default is 65) |
How many points are needed to treat a Polygon as "inside the Sphere". Example with "intersect: 65" The same applies for the NPGeoMap #Hashtag Variables [#PolygonKPI] and [#PolygonCount] (used for popups further below) - only Polygons with at least the "intersect"-percentage of their points inside the Sphere will be included. |
|
number radius/time/distance of Sphere - unit set in unitsFactor |
Set the radius of a Radial Sphere or the distance/time of an Isochrone, depending on the Sphere type above. type 0 = kilometers/miles of beeline radius type 1 = travel time in minutes type 2 = driving distance in kilometers/miles Attention: This feature used to be called "radius" - it was renamed since Isochrones are provided. Former built apps are still compatible! |
|
travelmode text parameter for calculating Isochrones |
If type 1 or 2 is set above, this feature configures several options for Isochrones: Type - "fastest" or "shortest" TransportMode - "car" or "pedestrian" TrafficMode - "traffic:enabled" or "traffic:disabled" These parameters are set like text, separated by semicolon. Example: "travelmode": "shortest;car;traffic:disabled", More information about travelmode from the provider HERE: developer.here.com |
|
1 geocoding on address level activated -1 off (default) |
Instead of geocoding coordinates out of an address, this feature reverse geocodes the coordinates of the sphere center point and returns the address to the NPGeoMap HashtagVariables [#RGAddress] and [#RGEAdress]. Those can be set inside a popup to show the address of the spheres center point by click. (Here ID required!) |
|
color Sphere fill color (default is empty) |
Sphere fill color. As soon as a color is set here, the Sphere is calculated as an area (kind of a Polygon) and overlays all objects beneath - like Markers, Lines etc. - which makes them impossible to click. When setting colors you can use Hex-Codes, HTML color names or RGB |
|
opacity number transparency of the fill color in percent |
Transparency of the fill color: 0% - colors are covering |
|
strokewidth number line thickness of the Spheres in pixel (default is 6) |
Set the stroke width of the Sphere border in pixel. |
|
strokecolor color color of the Sphere border (default is orange) |
Sets color of the Sphere border. When setting colors you can use Hex-Codes, HTML color names or RGB |
|
strokestyle type type of Sphere border (default is solid) |
Stroke style of the Sphere border. solid Pro tip - this feature supports SLD. |
|
content PopUp content
|
A PopUp is a kind of dialog or a small window, that opens or "pops up" if you click on an object (Marker, Polygons,...), for which a PopUp is defined. NPGeoMap can display text and dynamic content in a PopUp. o[#Distance]* o[#UnitsFactor] o[#MarkerKPI] o[#EndMarkerKPI] o[#MarkerCount] o[#EndMarkerCount] o[#PolygonKPI] o[#PolygonCount] |
|
o[#Latitude] and [#Longitude] o[#Latitude-F] and [#Longitude-F] o[#Latitude-P] and [#Longitude-P] o[#Coordinates] o[#PRJ=EPSG:xxx] o[#RG-xxx] or [#RGE-xxx] o[#RG-Address] Reverse geocoded - full resolved Address o[#RG-Country] Reverse geocoded Country o[#RG-County] Reverse geocoded County o[#RG-City] Reverse geocoded City o[#RG-State] Reverse geocoded State o[#RG-District] Reverse geocoded District o[#RG-Street] Reverse geocoded Street o[#RG-HouseNumber] Reverse geocoded HouseNumber o[#RG-Postalcode] Reverse geocoded Postalcode
Some nice Examples for the coordinates variables: simple coordinates: converted coordinates: integrating GoogleMaps Streetview: integrating GoogleMaps Routing: Check it out! (See details about notation in chapter fx‑editor).
Example: "popup": "Radius: [#SphereRadius][#UnitsFactor], Startmarker: [#MarkerCount], Endmarker: [#EndMarkerCount]" (Further information about NPGeoMap #Hashtag Variables see chapter fx‑editor) The whole PopUp content can be edited with HTML. Tip: There's a CSS file "info.css" located in the NPGeoMap Extension directory (subfolder "css"), which can be customized to define the default presentation of PopUps, MouseOver and SketchBoxes. *This variable used to be called [#SphereRadius] - it was renamed since Isochrones are provided. Former built apps are still compatible! |
||
qvchart QV object ID ID of the Sense object that should be displayed in the PopUp above |
Fill in the ID of a Sense object or chart (see screenshot on the right) to display it in the PopUp defined in the feature above. Basically all Sense visualizations can be used, however this feature is optimized for displaying Sense charts. The only condition is that the object has to be in the same Sense application and it will be displayed in the PopUp the same way and size as it is there. Nonetheless you can put it on a separate work sheet, to get it out of the way. If there are PopUp Variables defined in the Expert Settings and in Sense, the Sense chart can also be reduced to their content before. |