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 11:34 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.