Vote UpVote

Loading Dynamic Data Into Our Map

David Glassborow – Following on from last time, we will now add dynamic data to our map. Will we have the webpage use dynamic ajax calls to load data from the server. First thing is to get a simple webserver up and running. We must host the website and the data feed at the same address for security reasons (although this can be got around using JSONP). I’ll use a simple ruby sinatra server: 1 2 3 4 5 6 require 'sinatra' require 'json' get '/' do File.read('index.html') end Running this will bring up a simple server that just hosts our index page from last time (on port localhost:4567 by ...
Favorite? Off-Topic? 2014-02-14 09:03


Visits: 20
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)