Fixed and updated Place Maps to work with the new google v3 maps javascript code. Error reported by Jerome Rapinet.

svn: r17942
This commit is contained in:
Rob G. Healey
2011-07-21 01:44:50 +00:00
parent 8aa8f58036
commit 924adb2a45
4 changed files with 134 additions and 142 deletions

View File

@@ -5,7 +5,7 @@
DATAFILES = \
GeoView.css \
Mapstraction.css \
narrative-maps.css \
ancestortree.css \
behaviour.css \
Web_Basic-Ash.css \

View File

@@ -19,7 +19,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
#
# $Id: $
# $Id$
#
#
Body element
@@ -69,45 +69,3 @@ div#middlesection {
float: center;
overflow-y: hidden;
}
/* Y Map Sizes
------------------------------------------------- */
div#largeYMap {
width: 1400px;
margin: 1%;
}
div#middleYMap {
width: 1000px;
margin: 2%;
}
div#smallYMap {
width: 800px;
margin: 0px 8% 10px 9%;
}
div#YMap {
width: 800px;
margin: 0% 8% 10px 9%;
}
/* X Map Sizes
------------------------------------------------- */
div#largeXMap {
height: 1400px;
}
div#middleXMap {
height: 1200px;
}
div#smallXMap {
height: 800px;
}
div#XMap {
height: 800px;
}
/* Family GoogleV3
------------------------------------------------- */
div#familygooglev3 {
height: 100%;
width: 100%;
border: double 4px #000;
}

View File

@@ -106,8 +106,8 @@ def load_on_reg(dbstate, uistate, plugin):
["behaviour", 0, "Behaviour",
path_css('behaviour.css'), None, [], []],
# mapstraction style sheet for NarrativeWeb place maps
["mapstraction", 0, "mapstraction",
# narrative-maps style sheet for NarrativeWeb place maps
["NarrativeMaps", 0, "",
path_css("Mapstraction.css"), None, [],
[path_js("mapstraction", "mxn.core.js"),
path_js("mapstraction", "mxn.googlev3.core.js"),