/websocket-webmap

A WebSocket [RFC 6455] protocol implementation in GeoJSON-push webmap

Primary LanguageJavaScript

Build Status

websocket-webmap

A Quick-and-(still)-dirty WebSocket (RFC 6455) protocol implementation in GeoJSON-push webmap.

This repo is an implementation of WebSocket in a webmap which is visualising the GEOFON GFZ, USGS, and InaSAFE earthquake data.

The server-side packages are Express, moment, path, Pug, uuid, ws and xmlhttprequest.

On the client-side, it uses Leaflet, Leaflet.Grid, Leaflet-GroupedLayerControl, Leaflet.EasyButton, mapshakers' Leaflet-Pulse-Icon, Leaflet-Hash and the awesome Font Awesome.

Screenshot

alt text

Well, I think it's just a small step to fully understand the-right-way of WebSocket, and there are still a lot of challenges to beat for a better and efficient application architecture.