Hi,
the problem is that the shortcode plugin isn’t able to pass the width variable to the function creating the map, like the widget did.
Why don’t you add a custom widget area to your custom home page instead, that way you can use the widget as it is supposed to be used?
add this to your theme functions.php
if ( function_exists('register_sidebar') )
register_sidebar( array(
'name' => __( 'My Custom Widget Area - 1'),
'id' => 'mycustomwidgetarea',
'description' => __( 'An optional widget area for your home map', 'yourthemename' ),
'before_widget' => '<div id="%1$s" class="widget %2$s">',
'after_widget' => "</div>",
'before_title' => '',
'after_title' => '',
) );
and this in your home page template.
<?php
// Custom widget Area Start
if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('My Custom Widget Area - 1') ) : ?>
<?php endif;
// Custom widget Area End
?>
It will create a widget area where you can use the widget as it is supposed to be used.
Let us know,