simplegeo / polymaps

Polymaps is a free JavaScript library for making dynamic, interactive maps in modern web browsers.
http://polymaps.org/
Other
1.6k stars 213 forks source link

Add custom XHR support to Polymaps #125

Closed chrisdickinson closed 10 years ago

chrisdickinson commented 12 years ago

Allows polymaps users to set or unset custom HTTP headers.


// set a header
org.polymaps.queue.header('X-Requested-With', 'XMLHttpRequest')

// unset a header
org.polymaps.queue.header('X-Requested-With')