Posts Tagged: javascript


22
May 09

MapFish & OpenLayers Technical Overview

OpenLayers has its fair share of reputation as being one of the best and widely implemented (White House’s Delivering on Change using OpenLayers) open source JavaScript library for displaying dynamic map data in a webpage. Although originally developed by MetaCarta, in November 2007 it became a project of the Open Source Geospatial Foundation. Written in object-oriented JavaScript, OpenLayers supports a variety of data sources with methods for accessing geographic data such as Web Mapping Service (WMS) and Web Feature Service (WFS) protocols of the OpenGIS Consortium.

MapFish on the other hand is an open source application framework with Server and Client side components for building online mapping applications. The Mapfish Client is built upon OpenLayers for the mapping part, ExtJS and GeoExt for the GUI part. MapFish Server deals with server side functions and can be used with MapServer, GeoServer or MapGuide.

Geoweb Guru outlines the technical aspects of these open source mapping utilities with examples at Technical Overview: MapFish and Technical Overview: OpenLayers


5
Apr 09

Read XML files using the Google Maps API

Looking to build a Google Maps mashup by reading geo-enabled information from an XML file?

Here’s a post from GeoChalkboard explaining by way of examining a simple application that displays geologic points of interest from around the state of Texas available in an XML file format.

The tutorial highlights the usage of two methods (GXmlHttp and GDownloadUrl) provided by the Google Maps API to read XML files.

Lat long coordinates and information associated with each point of interest are read from the file and markers are generated with location information being displayed via an information window.

If you are just beginning to create Google Map mashups and looking for some simple examples on using XML files and the maps API, check out my previous posts.