Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   OS Map into 3.6.7. Post (http://forum.bytesforall.com/showthread.php?t=14672)

quintain Jun 16, 2011 12:03 PM

OS Map into 3.6.7. Post
 
Hello can you help please.

I am trying to place an "OS OpenData map into a post "cleatormoor1" on my site www.cleatormoor-tc.org.uk

All I get is box with a border, I am testing with latest FF, IE & Opera, using ATA 3.6.7
I am also using "Raw html plugin (http://w-shadow.com/blog/2007/12/13/...-in-wordpress/) with WP visual editor disabled

I am asking on the OS Map forum but no answers as yet, a relevant/similar discussion is (https://openspace.ordnancesurvey.co....=1335&tstart=0)

Is there any theme problems or issues that would help me??

The code is:
<!-- Download OpenSpace API using your key -->
<script type="text/javascript" src="http://openspace.ordnancesurvey.co.uk/osmapapi/openspace.js?key=A5BEED18161E8B1DE0405F0AC8602387" ></script>
<script type= "text/javascript" src="http://openspace.ordnancesurvey.co.uk/osmapapi/script/mapbuilder/basicmap.js"></script>
<script type= "text/javascript" src="http://openspace.ordnancesurvey.co.uk/osmapapi/script/mapbuilder/searchbox.js"></script>
<script type="text/javascript">

$(document).ready(initmapbuilder);

function initmapbuilder()
{
//initiate the map
var options = {resolutions: [2500, 1000, 500, 200, 100, 50, 25, 10, 5, 4, 2.5, 2, 1]};
osMap = new OpenSpace.Map('map', options);

//configure map options (basicmap.js)
setglobaloptions();
//add a postcode/gazetteer search box (see searchbox.js)
addSearchBox(1);
//set the center of the map and the zoom level
osMap.setCenter(new OpenSpace.MapPoint(414350,297010),1);}
</script>

<div id="map" style="border: 1px solid black; width:540px; height:440px;"></div>


All times are GMT -6. The time now is 04:23 PM.

Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.