Giter Club home page Giter Club logo

leaflet-grids's People

Contributors

alex-outdoor avatar andrewljohnson avatar drwelby avatar jessecrocker avatar solsticedhiver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

leaflet-grids's Issues

MGRS title name for 10km by 10km

Bonjour Alexandre,

j'ai trouvé sur GitHub
https://github.com/trailbehind/leaflet-grids
avec l'affichage des grilles, exactement comme je le voulais, bravo pour le travail.

Cependant, il y a un petit problème avec l'utilisation des grilles MGRS dans l'affichage du nom de la cellule en 10x10 km, qui indique le même nom pour toutes les cellules d'une maille 100x100

Pour être plus précis, je joins une capture d'écran.

J'ai regardé dans le code, mais je dois avouer que si j'arrive à faire quelques trucs en javascript en empruntant des bouts de code ici et là, je ne suis pas capable de trouver où çà coince.

Merci de votre aide

Cordialement

Alain Migeon
pressepapier01

MGRS coords labeling - bug?

Hello,

I would like to ask, if everything is ok with mgrs map coords labeling/or i just missed something? When I compared mgrs leaflet-grid with grid from mappingsupport, coords are different.

..and if there is a way to have more detailed mgrs grid like in example (red lines
mappingsupport
leaflet-mgrs
leaflet-mgrs-grid-example

)?

leaflet-grids with proj4

Some help with leaflet-grids and proj4.js different projection?

Sample map with custom projection:

var crs = new L.Proj.CRS.TMS('EPSG:3067',
    '+proj=utm +zone=35 +ellps=GRS80 +units=m +towgs84=0,0,0,-0,-0,-0,0 +no_defs',
    [-548576.0, 6291456.0, 1548576.0, 8388608],
    {
        resolutions: [
            8192,
            4096,
            2048,
            1024,
            512,
            256,
            128,
            64,
            32,
            16,
            8,
            4,
            2,
            1,
            0.5,
            0.25,
            0.125,
            0.0625,
            0.03125,
            0.015625
        ]
    });

var map = new L.Map('map', {
    crs: crs,
    continuousWorld: true,
    worldCopyJump: false,
    zoomControl: true
});

var tilelayer = new L.Proj.TileLayer.TMS('http://{s}.map-place.abc/map/{z}/{x}/{y}.png', crs, {
        maxZoom: 19,
        minZoom: 0,
        tileSize: 256,
        tms: true,
        continuousWorld: true,
        attribution: '©',
        subdomains: ['tile1','tile2']
});

Error in IE

Thank you for the great plug-in. It works everywhere I've tested it except IE 11 (V. 11.0.9600.18665).

I get the same error in both my leaflet application and the plugin's included example.

Execution stops at Line 48: L.grids.distance.imperial().addTo(map);

Error: "Unable to get property 'distance' of undefined or null reference".

Any ideas?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.