background preloader

Leaflet - a JavaScript library for mobile-friendly maps

Leaflet - a JavaScript library for mobile-friendly maps

Guide de démarrage rapide - Brochure - une bibliothèque JavaScript pour mobile-friendly cartes ← Tutorials This step-by-step guide will quickly get you started on Leaflet basics, including setting up a Leaflet map, working with markers, polylines and popups, and dealing with events. Preparing your page Before writing any code for the map, you need to do the following preparation steps on your page: Now you’re ready to initialize the map and do some stuff with it. Setting up the map Let’s create a map of the center of London with pretty Mapbox Streets tiles. var mymap = L.map('mapid').setView([51.505, -0.09], 13); By default (as we didn’t pass any options when creating the map instance), all mouse and touch interactions on the map are enabled, and it has zoom and attribution controls. Note that setView call also returns the map object — most Leaflet methods act like this when they don’t return an explicit value, which allows convenient jQuery-like method chaining. Next we’ll add a tile layer to add to our map, in this case it’s a Mapbox Streets tile layer. Markers, circles and polygons

jQuery Geo L'API ArcGIS for JavaScript passe en version 3.1 Esri vient de mettre en ligne une version 3.1 de l'API ArcGIS for JavaScript. Cette version mineure ajoute quelques nouvelles fonctionnalités ainsi que des évolutions intéressantes en termes d'intégration aux IDE. Ci-dessous la liste des principales améliorations: Widget "attribution" Un nouveau widget "attribution" a été ajouté dans l'API pour permettre le contrôle de l'affichage des informations d'attribution sur les sources de données de la carte. Evolutions sur la classe esri.Map La propriété wrapAround180 a désormais la valeur "true" par défautUne nouvelle propriété showAttribution permet d'indiquer si les attributions doivent apparaître ou pas sur la carte. Evolutions sur le composant OverviewMap Le dijit Overview propose maintenant deux méthodes publiques show() et hide() pour contrôler son apparition au coté de la carte. Code Assist Plugin Nouveau sample

bigdata (bigdata) Kartograph – rethink mapping Créer des cartes interactives avec UMapper Un outil cartographique appelé UMapper ouvre de nouvelles perspectives pédagogiques en permettant de créer des cartes interactives de diverses sortes. Les enseignants de DNL histoire et géographie seront particulièrement intéressés, mais les applications peuvent facilement être élargies à d'autres disciplines. Un outil pour créer des cartes interactives Umapper est un outil gratuit en ligne aux applications pédagogiques intéressante, en DNL histoire-géographie par exemple. Il permet en effet de créer des cartes interactives à partir d'une bibliothèque d'images ou de vos propres fichiers téléchargés. Le dispositif permet d'ajouter des éléments à la carte (texte, son, icônes...) et de créer ainsi facilement des exercices à proposer à vos classes. Méthodologie Pour ajouter du son, cliquer sur l'option media "audio" (1) et télécharger le fichier (2) souhaité sur votre ordinateur : Exemples d'exercices Une carte propose de travailler sur l'Europe en anglais : Western Europe Map Quiz

jHERE - Maps Made Easy OpenLayers OpenLayers is an open source (provided under the 2-clause BSD License[2]) JavaScript library for displaying map data in web browsers. It provides an API for building rich web-based geographic applications similar to Google Maps and Bing Maps. The library was originally based on the Prototype JavaScript Framework. Features[edit] OpenLayers can communicate through several protocols OpenLayer supports GeoRSS, KML (Keyhole Markup Language), Geography Markup Language (GML), GeoJSON and map data from any source using OGC-standards as Web Map Service (WMS) or Web Feature Service (WFS). Examples of use[edit] History[edit] OpenLayers was created by MetaCarta after the O'Reilly Where 2.0 conference[3] of June 29–30, 2005,[4] and released as open-source software before the Where 2.0 conference of June 13–14, 2006, by MetaCarta Labs. Notes[edit] External links[edit]

Metamarkets Blog » Blog Archive » The Rise of Interactive Data Visualization The visualization below highlights something only recently possible on the web: a dynamic, interactive canvas. Titled “Disaster Strikes: A World In Sight”, it visualizes a century of floods, fires, droughts, and earthquakes around the globe. (Below is a snapshot of 1996, an apparently costly year for disasters). It’s not a passively animated graphic, but one that users can actively engage with, freezing or pivoting dimensions to reveal new views of the data. It’s a harbinger of a new class of documents, which digital publishers are beginning to embrace, to provide a richer information experience for readers. Meet the Interactive Frameworks That the above graphic could be built in a single weekend (it was part of a larger hackathon called Data In Sight that Barret Schloerke and his team 13 participated in) is testament to the maturity of tools available. In the last few years, there has been a blossoming of frameworks for creating rich, dynamic infographics. Progress, In Sight

BigVideo.js - The jQuery Plugin for Big Background Video The jQuery Plugin for Big Background Video (and Images) This plugin makes it easy to add fit-to-fill background video to websites. It can play silent ambient background video (or series of videos). Or use it as a player to show video playlist. BigVideo.js is built on top of Video.js from zencoder. You can read about how to use BigVideo.js below. DOWNLOAD: zip tar examples bower install BigVideo.js Setup BigVideo.js uses the Video.js api. To simply play a video that takes up the entire browser window (like in this example), do this: For crossbrowser fallbacks, you can include a source order with different video formats. Ambient Video To play silent video in the background of a page (like in this example), use BigVideo’s ambient setting: Or play a series of ambient background videos (like in this example) Keep in mind that mobile devices do not allow video autoplay. Video.js Because BigVideo.js is built on top of Video.js, you can use the Video.js api. BV.getPlayer().pause(); Tips

Earth API Guide du développeur - Google Earth API - Google Développeurs Introduction Welcome to the developer documentation for the Google Earth API. The Google Earth Plugin and its JavaScript API let you embed the full power of Google Earth and its 3D rendering capabilities into your web pages. Just like in the Google Maps API, you can draw markers and lines—but in 3D! See the Google Earth API developer forum if you have have questions about the API after reading this developer guide. Audience This documentation is designed for people familiar with JavaScript programming and object-oriented programming concepts. The Google Earth Plugin The Google Earth Plugin is currently supported on the following platforms: Microsoft Windows (XP, and Vista) Google Chrome 5.0+ Internet Explorer 7.0+ Firefox 3.0+ Flock 1.0+ Apple Mac OS X 10.5 and higher (Intel) Google Chrome 5.0+ Safari 3.1+ Firefox 3.0+ Although the plugin and API may work correctly on other browsers that support NPAPI with npruntime extensions, these browsers are not officially supported. Installation

Related: