RECOMMENDATION: If you are using a version of The Portal Connector higher than 4.0, we strongly recommend utilizing the MVC based widgets and components to create your site. This documentation is for legacy purposes only and will soon be deprecated.

get_mapView()

Returns the map view object associated with the widget.

Example-Map Fetch MapView

tpc.page.map.get_mapView();
Parameters

None

Returns

jQuery Object

get_type()

Returns the widget type.

Example-Map Fetch Type

tpc.page.map.get_type();
Parameters

None

Returns

String

get_container()

Returns the container element of the widget.     

Example-Map Fetch Container Element

tpc.page.map.get_container();
Parameters

jQuery Object     

Returns

None

get_element()

Returns the element of the widget.

Example-Map Fetch Element

tpc.page.map.get_element();
Parameters

None

Returns

jQuery Object

hide()

Hides the widget from the page.

Example-HIDE MAP

tpc.page.map.hide();
Parameters

None

Returns

None

show()

Shows the widget on the page.

Example-Show Map

tpc.page.map.show();
Parameters

None

Returns

None

toggle()

Toggles the visibility of the widget.

Example-Map Toggle

tpc.page.map.toggle();
Parameters

None

Returns

None

get_model()

Returns the model object of the widget, which contains several useful properties related to the widget.

Example-MAP FETCH MODEL

tpc.page.map.get_model();
Parameters

Object

Returns

None