.externalcontentGadgetMaps()
Categories: UI
.externalcontentGadgetMaps( [ options ] )
Subclass: de_epages
Inherit: (Subclass: de_epages) .widget()
Plugin: de_epages.externalcontent.gadget.maps
Description: Create a Google, bing or klickTel Map.
-
.externalcontentGadgetMaps( [ options ] )
version added: 6.15.0options A map of additional options to pass to the method.
The Widget inserts a Google, bing or klickTel Map into the target element on which the widget is executed on.
-
The Widget is executed on a pageelement and is called with passing the chosen options. In this example a Google Map is implemented. Zoom factor is 5, controls are shown and the map area is not draggable.
Code:
jQuery.ready({ plugin: [ 'de_epages.externalcontent.gadget.maps' ], DOM: true }, function($){ var widget = de_epages('<div>').externalcontentGadgetMaps({ type: "google", width: 300, height: 200, zoom: 5, title: "Milestones GmbH", controls: true, fixedView: true, lat: 50.65531, lng: 11.715550000000007 }); });
-
destroy
-
.externatcontentGadgetMaps('destroy')
version added: 6.15.0
This method removes the container on which the map gadget has been appended to.
-