ability to generate arbitrary map with [ map=lat/lon] and also free form location using [ map]somewhere[/map] but the second one currently has no plugins available to generate it.
This commit is contained in:
@@ -1312,6 +1312,12 @@ function generate_map($coord) {
|
||||
return $arr['html'];
|
||||
}
|
||||
|
||||
function generate_named_map($location) {
|
||||
$arr = array('location' => $location, 'html' => '');
|
||||
call_hooks('generate_named_map',$arr);
|
||||
return $arr['html'];
|
||||
}
|
||||
|
||||
|
||||
|
||||
function prepare_body(&$item,$attach = false) {
|
||||
|
||||
Reference in New Issue
Block a user