function _gmap_parse_style in GMap Module 7.2
Same name and namespace in other branches
- 5 gmap_parse_macro.inc \_gmap_parse_style()
- 6.2 gmap_parse_macro.inc \_gmap_parse_style()
- 6 gmap_parse_macro.inc \_gmap_parse_style()
- 7 gmap_parse_macro.inc \_gmap_parse_style()
Parse a macro style definition.
Example: #111111/1/100/#111111/1 @internal
Deprecated
use GmapMacroToolbox::getInstance()->setStyle($style)->getParsedStyles()
1 call to _gmap_parse_style()
File
- ./
gmap_parse_macro.inc, line 19 - GMap macro parsing routines.
Code
function _gmap_parse_style($style) {
include_once drupal_get_path('module', 'gmap') . '/lib/Drupal/gmap/GmapMacroToolbox.php';
return GmapMacroToolbox::getInstance()
->setStyle($style)
->getParsedStyles();
}