All Projects → bevanhunt → Meteor Leaflet

bevanhunt / Meteor Leaflet

Leaflet.js for Meteor.js

Projects that are alternatives of or similar to Meteor Leaflet

Kepler
The open source full-stack geosocial network platform
Stars: ✭ 125 (+43.68%)
Mutual labels:  meteor, leaflet
Vue Leaflet
vue-leaflet compatible with vue3
Stars: ✭ 82 (-5.75%)
Mutual labels:  leaflet
Ipyleaflet
A Jupyter - Leaflet.js bridge
Stars: ✭ 1,103 (+1167.82%)
Mutual labels:  leaflet
Meteor Iron Router Ga
Google analytics for Iron Router
Stars: ✭ 76 (-12.64%)
Mutual labels:  meteor
Leaflet Ng2
Angular.io integration of Leaflet
Stars: ✭ 66 (-24.14%)
Mutual labels:  leaflet
Meteor Comments Ui
Simple templates for comment functionality in your Meteor App
Stars: ✭ 78 (-10.34%)
Mutual labels:  meteor
Vulcan
🌋 A toolkit to quickly build apps with React, GraphQL & Meteor
Stars: ✭ 8,027 (+9126.44%)
Mutual labels:  meteor
Meteor Up
Production Quality Meteor Deployment to Anywhere
Stars: ✭ 1,258 (+1345.98%)
Mutual labels:  meteor
Quizzity
A fast-paced geography quiz
Stars: ✭ 80 (-8.05%)
Mutual labels:  leaflet
Leaflet.motion
A simple tool to animate polylines and polygons in different way
Stars: ✭ 76 (-12.64%)
Mutual labels:  leaflet
Leaflet.path.drag
Drag functionality for Leaflet vector layers
Stars: ✭ 72 (-17.24%)
Mutual labels:  leaflet
Leaflet.labeltextcollision
Leaflet.LabelTextCollision is a LeafletJS plug-in to display labels on vector data while avoiding label collisions.
Stars: ✭ 65 (-25.29%)
Mutual labels:  leaflet
Reactnativemeteorboilerplate
Stars: ✭ 79 (-9.2%)
Mutual labels:  meteor
Making Maps With React
🌐 Example React components for React-Leaflet, Pigeon Maps, React MapGL and more
Stars: ✭ 66 (-24.14%)
Mutual labels:  leaflet
Pinpoint
JavaScript library for creating beautifully simple maps in seconds
Stars: ✭ 83 (-4.6%)
Mutual labels:  leaflet
Leaflet.basemaps
A tile driven basemaps control for Leaflet.
Stars: ✭ 58 (-33.33%)
Mutual labels:  leaflet
Q42.nl
Q42.com
Stars: ✭ 69 (-20.69%)
Mutual labels:  meteor
Leaflet Demo
Getting started with Leaflet's small demo
Stars: ✭ 77 (-11.49%)
Mutual labels:  leaflet
Apollo
Meteor & Apollo integration
Stars: ✭ 87 (+0%)
Mutual labels:  meteor
Leaflet.layergroup.collision
Leaflet plugin for uncluttering L.Markers using basic collision detection.
Stars: ✭ 82 (-5.75%)
Mutual labels:  leaflet

Leaflet for Meteor

Purpose

To provide a Meteor package to quickly build real-time cross-platform map apps.

Meteor Package

Demo

Meteor Leafet Demo | GitHub

Packaged Libraries

Roadmap

Roadmap

Usage

  • add this package to your Meteor project

      meteor add bevanhunt:leaflet
    
  • add a map div to html

      <div id='map'></div>
    
  • add a style for map to css

      #map {
        min-height: 350px;
        min-width: 100%;
      }
    
  • in Javascript client-side code define Leaflet map with default image path

      if (Meteor.isClient) {
        L.Icon.Default.imagePath = '/packages/bevanhunt_leaflet/images/';
        var map = L.map('map');
      }
    
  • in Javascript client-side code use a free tile provider [optional] - View Map Choices

      if (Meteor.isClient) {
        L.tileLayer.provider('Stamen.Watercolor').addTo(map);
      }
    
  • in Javascript client-side code use Leaflet Spin [optional]

    • to start the loading spinner

        if (Meteor.isClient) {
          map.spin(true);
        }
      
    • to stop the loading spinner

        if (Meteor.isClient) {
          map.spin(false);
        }
      

Reactive Popups

  • in Javascript client-side to create Reactive Popups - more info on Blaze.renderWithData.

      if (Meteor.isClient) {
        // add marker to map
        var marker = L.marker([50.5, 30.5]).addTo(map);
        // wrapping node for bindPopup
        var containerNode = document.createElement('div');
        // Which template to use for the popup? Some data for it, and attach it to node
        Blaze.renderWithData(Template.popup, dataContext, containerNode);
        // Finally bind the containerNode to the popup
        marker.bindPopup(containerNode).openPopup();
      }
    

GeoJSON

From Arrays

From KML/GPX

From other Formats

Featured Blog Posts

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].