new CatalogProductViewer(options)
The Navionics Catalog showed on Map
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
options |
array | object |
optional
Some initialization options.
|
- See:
-
JNC.Views.Mapfor more, map related, paramsJNC.Views.BoatingNavionicsMapfor more, boating-map related, params
Example
var productViewer = new JNC.Views.CatalogProductViewer({
tagId: '#test_map_div_4',
center: [ -102.797723, 41.051967 ],
zoom: 0.8,
});
productViewer.showChartProduct('NavionicsPlus');
Extends
Methods
-
hideChartProduct(title)
-
Hide the product by name
Name Type Description titlestring the name of Product
-
showChartProduct(title)
-
Show the product by name
Name Type Description titlestring the name of Product
Events
-
inherited event:highlightProduct
-
Fired Every time the mouse is over one product
Name Type Description idstring product identification
-
inherited event:initTrackKML
-
Event is triggered when selected track has KML URL data
-
inherited KmlBalloonOpen
-
The event is fired for trace in GoogleAnalytics when kml balloon open.
Properties:
Name Type Description valueString zoom direction 'zoom-in'\'zoom-out'
-
inherited KmlLoaded
-
The event is fired for trace in GoogleAnalytics when default Kml loaded.
Properties:
Name Type Description kmlUrlString KML url
-
inherited MapLoaded
-
The event is fired for trace in GoogleAnalytics when boating map loaded.
Properties:
Name Type Description navKeyString Map's navKey
-
inherited NavionicsAcknowledgementsClicked
-
The event is fired for trace in GoogleAnalytics when Navionics acknowledgements clicked.
-
inherited NavionicsDistanceUnitClicked
-
The event is fired for trace in GoogleAnalytics when Navionics Depth Unit clicked.
-
inherited NavionicsLogoClicked
-
The event is fired for trace in GoogleAnalytics when Navionics logo clicked.
-
inherited OverlayChange
-
The event is fired for trace in GoogleAnalytics when map overlay changed (osm, bing, etc).
Properties:
Name Type Description valueString overlay value (osm, bing, etc).
-
inherited event:resetTrackLML
-
Event is triggered when opened track need to be hidden
-
inherited event:selectProduct
-
Fired Every time the mouse click one product
Name Type Description idstring product identification
-
inherited event:showText
-
Event is triggered to show notification text
-
inherited ZoomControl
-
The event is fired for trace in GoogleAnalytics when zoom controls used.
Properties:
Name Type Description statusString zoom direction zoom-in\zoom-out
-
inherited map:centerchange
-
Event is triggered by changing center of the map
-
inherited map:click
-
Event is triggered by map click
-
inherited map:mousePosition
-
Event is triggered by position of mouse on the map
-
inherited map:pointermove
-
Event is triggered by moving of pointer on the map
-
inherited map:resize
-
-
inherited map:zoomchange
-
Event is triggered by map zoom
Navionics Web API v2