Archive for the ‘JavaScript’ Category
TileStache Django tiny wrapper
This is the second part of the story about my experiments with the wonderful TileStache that I started with TileStache and Polymaps SVG experiments. First, I would like to thank Michal for the quick patch inclusion, the Polymaps patch is still waiting for the pull and the Django admin patch is awating for somebody to [...]
Categoria: Django , GIS , JavaScript , Programmazione , Python , Tech , WebGis
09 January 2012
Polymaps, TileStache and SVG CSS styling issues
A few days ago I started playing with Polymaps and TileStache, two very promising WebGIS building tools. The final goal of this experiments was the integration with Django. Polymaps Polymaps is a Javascript library aimed to display svg maps in a web page, recently I’ve watched to an interesting talk about a Django-powered app built [...]
Categoria: Django , GIS , JavaScript , Programmazione , Python , Tech , WebGis
05 January 2012
OpenStreeetMap and OpenCycleMap extent bookmarklet
Today I wrote a simple bookmarklet to get the map extent in EPSG:4326 from the wonderful OpenCycleMaps.org website. It also works on the OpenStreetMap.org website. You can just right-click and save it on your bookmarks, the click on the bookmark while in the OpenCycleMap site and a popup will appear with the extent coordinates printed [...]
Categoria: GIS , JavaScript , Tech
24 November 2011
GeoExt debug build
How to build an uncompressed debug version of GeoExt.
Categoria: GeoExt , GIS , JavaScript , Tech
08 November 2011
Right click map control in OpenLayers
Thanks to a post in Spatial Notes Blog I’ve finally found a cross-browser way to handle right click on an OL map, I’ve been using an homebrew solution only to discover how it did not work correctly in MSIE. The proposed solution involves a custom control subclass and the standard OL machinery, the MSIE oddities [...]
Categoria: GIS , JavaScript , Tech
11 January 2011
Compressione JS in p.mapper
Questa breve nota (disponibile solo in inglese) descrive come migliorare significativamente i tempi di caricamento di p.mapper tramite la compressione dei file JavaScript di questo ottimo client WebGIS.
Categoria: JavaScript , WebGis
23 October 2007
Un form builder DHTML basato su jQuery
Sempre studiando jQuery ho realizzato un programma 100% javascript per la creazione di form. Il programma è destinato a utenti non molto esperti che devono poter creare dei semplici moduli XHTML che vengono poi integrati in un’altro applicativo.
Categoria: JavaScript , Programmazione
27 August 2007
Un semplicissimo sistema di template in JavaScript
Per un progetto recente ho deciso di provare jQuery invece del collaudatissimo framework prototype.
Una delle cose di cui ho sentito subito la mancanza è un sistema di template semplice come quello integrato con prototype, dopo aver provato alcuni dei plugin di jQuery che sembravano fare al mio caso, ho scritto in una decine di righe un mini sistema di template che mi ha permesso di supplire velocemente a questa mancanza.
Categoria: JavaScript , Programmazione
24 August 2007



