Note: you can't update data of this sample due insufficient permissions of logged demo user
jQuery code snippet:
cms_plugin_maps= $('.skin-contacts-map').cms_plugin_maps({ // create cms_plugin_maps instance
id: skin_lang, // maps id = language code
lang_id: skin_lang_id, // google maps language id
cms_path: skin_cms_path // cms folder relative path
});
HTML code snippet:
<script language="javascript" src="http://maps.google.com/maps/api/js?sensor=false&language={$lang_id|default:'en'}" type="text/javascript"></script>
<div id="sample-map" id="eng"></div>
CSS code snippet:
.skin-contacts-map {position: relative; display: block; width: 100%; height: $contacts-map-height; margin-top: 10px}
.cms_plugin_maps()
Option | Method | Callback |
---|---|---|
class_control, class_marker, class_marker_text, class_marker_address | ||
admin, id, item_id, lang_id | ||
map, map_address, map_markers | ||
cms_path, cms |
.cms_plugin_maps( settings )
|
|||||||
|
cms_plugin_map plugin plugin styling and control (plugin implementation in sample):
Plugin cms_plugin_maps depends on following jQuery packages: