To add a Flexible Map to a post or a page, add a shortcode [flexiblemap] and give it some useful parameters.
Map can either be specified using centre coordinates, or by loading a KML file. A KML file has the advantage that you can have many different markers all on the one map.
[flexiblemap center="-34.916721,138.828878" width="500" height="400" zoom="9" title="Adelaide Hills" description="The Adelaide Hills are repleat with wineries."]
[flexiblemap center="-34.916721,138.828878" width="500" height="400" title="Adelaide Hills" directions="true"]
[flexiblemap center="-34.916721,138.828878" width="500" height="400" title="Adelaide Hills" directions="my-dir-div"]
[flexiblemap src="http://snippets.webaware.com.au/maps/example-toronto.kml" width="500" height="400"]
There is a PHP function `flexmap_show_map()` for theme and plugin developers. All of the same parameters for the shortcode can be passed to the function in an associative array.
flexmap_show_map(array(
'center' => '-34.916721,138.828878',
'width' => 500,
'height' => 400,
'zoom' => 12,
'title' => 'Adelaide Hills',
'description' => 'The Adelaide Hills are repleat with wineries.',
'directions' => 'my-dir-div',
'hidepanning' => 'false',
'hidescale' => 'false',
'maptype' => 'satellite',
));