GithubHelp home page GithubHelp logo

coopaxis / cartosiae37 Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.72 MB

Cartographie des SIAE d'Indre-et-Loire

License: GNU Lesser General Public License v3.0

CSS 6.80% PHP 24.17% HTML 29.37% JavaScript 39.66%

cartosiae37's People

Contributors

cyrille37 avatar krismas avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

krismas

cartosiae37's Issues

SlippyMap offline

Créer un SlippyMap offline.
Facilement switcher du on-line / off-line

error in siaeByRome data

La structure ASER n'est pas affichée.
Et oui elle n'est pas dans la table "siaeByRome"

"siaeByRome": {
"D1207": [ 1 ],
"D1214": [ 1 ],
"K2304": [ 1, 18, 32 ],
"N4105": [ 1,    19,    23,    27,    31 ],
"A1203": 
[    2,    4,    6,    8,    11,    14,    16,    18,    20,23,26,30 ],
"id": 5,
"name": "ASER",
"address": "3 rue Félix Nadar,37 100 , TOURS",
"latlon": 
[ 47.4095732, 0.6885055 ],
"phone": "02.47.52.79.50",
"mail": "[email protected]",
"type": "AI",
"romes": 
[
    "A1203",
    "I1203",
    "K1303",
    "K1304",
    "K2204",
    "N1102"
]

Bug bouton déselection all

Fichier concerné : CartoSIAE.js

Lors de la déselection de tous les nodes par le bouton "Aucunes", le tableau selectedRomes n'est pas vidé, ce qui empêche le bon fonctionnement de l'arbre par la suite.

Il peut donc être intéressant de vider ce tableau au moment de l'évènement.

`
self.siaeMap.fitSiaeBounds();

	})
	.on('cartosiae.nodes_all_deselected', function( siaeTree, rome )
	{
		self.siaeMap.hideAll();
		self.selectedRomes = [];  // ligne à ajouter pour vider le tableau;
		self.siaeMap.fitSiaeBounds();
		self.siaeTable.deleteAll();
	});

}

this.getJobLabel = function( romeCode )
{
	return self.romeToJob[romeCode];
}

// Call constructor
this._construct();`

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.