@mapbox/corslite

WebJar for @mapbox/corslite

License

License

BSD
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

mapbox__corslite
Last Version

Last Version

0.0.7
Release Date

Release Date

Type

Type

jar
Description

Description

@mapbox/corslite
WebJar for @mapbox/corslite
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/mapbox/corslite

Download mapbox__corslite

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/mapbox__corslite/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>mapbox__corslite</artifactId>
    <version>0.0.7</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/mapbox__corslite/
implementation 'org.webjars.npm:mapbox__corslite:0.0.7'
// https://jarcasting.com/artifacts/org.webjars.npm/mapbox__corslite/
implementation ("org.webjars.npm:mapbox__corslite:0.0.7")
'org.webjars.npm:mapbox__corslite:jar:0.0.7'
<dependency org="org.webjars.npm" name="mapbox__corslite" rev="0.0.7">
  <artifact name="mapbox__corslite" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='mapbox__corslite', version='0.0.7')
)
libraryDependencies += "org.webjars.npm" % "mapbox__corslite" % "0.0.7"
[org.webjars.npm/mapbox__corslite "0.0.7"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

a floating can of corslite

corslite

Build Status

corslite('http://b.tiles.mapbox.com/v3/tmcw.dem.json', function(err, resp) {
    // resp is the XMLHttpRequest object
}, true); // cross origin?

an AJAX library focused on simplicity and supporting IE8-10 with cross domain requests.

We're making a deal with the devil and using XDomainRequest in hopes that it is less a hack than JSONP. This comes with caveats:

  • No headers are permitted on requests
  • Only 'GET'
  • No access error diagnostics (status code, response body) on IE
org.webjars.npm

Mapbox

Mapbox is the location data platform for mobile and web applications. We're changing the way people move around cities and explore our world.

Versions

Version
0.0.7