Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

OS Map into 3.6.7. Post


  #1  
Old Jun 16, 2011, 11:03 AM
quintain
 
68 posts · Nov 2010
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>

Bookmarks

Tags
os map, raw html

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google map plugin with custom pins? paulae Plugins & Atahualpa 10 May 26, 2011 09:28 AM
[SOLVED] Google Site-map Generator buzz628 Plugins & Atahualpa 7 Jul 3, 2010 12:14 AM
Problem with google map iframe, IE scrolls down to post with iframe Björn Palovaara Center area post/pages 1 Apr 9, 2010 02:32 PM
Site map Axon Atahualpa 3 Wordpress theme 2 Feb 24, 2009 11:13 PM


All times are GMT -6. The time now is 01:17 PM.


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