Skip to content

LocalData/nodetiles-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodetiles-MongoDB

Nodetiles-MongoDB is a data source for Nodetiles that allows you to load and render geographic data from a Mongo database

Quick Start

/* Set up the libraries */
var nodetiles = require('nodetiles-core');
var MongoDataSource = require('nodetiles-mongodb');

/* Create your map context */
var map = new nodetiles.Map();

/* Add some data from Mongo! */
map.addData(new MongoDataSource({
  connectionString: "mongoose",
  tableName: "countries",
  geomField: "wkb_geometry",
  projection: "EPSG:900913"
}));

Copyright

Copyright (c) 2012-2013 LocalData. See LICENSE for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •