But I am not referencing locale.js in my source html file. It must be
injected somehow by exhibit-api.js or map-extension.js
My html:
<html>
<head>
<title>Houses</title>
<link href="houses.js" type="application/json" rel="exhibit/data" />
<script src="http://static.simile.mit.edu/exhibit/api-2.0/exhibit-api.js"
type="text/javascript"></script>
<script
src="http://static.simile.mit.edu/exhibit/extensions-2.0/map/map-extension.js?gmapkey=<removed>"
type="text/javascript"></script>
</head>
<body>
<button onclick="getLatLng();">Get Lat/Lng</button><br/>
<textarea id="results" rows="20" style="width: 100%;"></textarea>
<script type="text/javascript">
function getLatLng() {
var database = exhibit.getDatabase();
Exhibit.MapView.lookupLatLng(
database.getSubjects("School", "type"),
".address",
"addressLatLng",
document.getElementById("results"),
database,
4
);
}
</script>
</body>
</html>
David R. Karger wrote:
try this:
http://static.simile.mit.edu/exhibit/api-2.0/locales/en/locale.js
Brad Clements wrote:
Following the instructions at
http://simile.mit.edu/wiki/Exhibit/2.0/Map_View_Tutorial
I get a 404 downloading
http://static.simile.mit.edu/exhibit/api-2.0/locales/en-US/locale.js
Suggestions?
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general
--
Brad Clements, [EMAIL PROTECTED] (315)268-1000
http://www.murkworks.com
AOL-IM: BKClements
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general