- Removes the
wax.mm.latlngtooltip()
- Renames styles from
.wax-
as their prefix to.map-
- Fixes IE issues in events, event interaction with Leaflet
- Fix global variable leak of
coord
in wax.mm._provider - Fix fullscreen control problems with relative sizes
wax.mm.pointselector
no longer takes a tilejson argumentwax.mm.boxselector
no longer takes a tilejson argument- pointselector and boxselector can have multiple callbacks - they
now use a callbackManager and support
addCallback
andremoveCallback
wax.mm.boxselector
andwax.mm.pointselector
no longer call.add()
automaticallywax.mm.zoomer
no longer calls.add
automaticallywax.mm.zoomer
supports easingwax.mm.legend
now permits access to its element with .element- Style updates
- Add api for checking if map is fullscreen
- Fix touch interaction
- Binds
wax.mm.zoomer()
controls totouchstart
events to make them more responsive on mobile devices.
- The
wax.gridmanager()
code now sets thegridUrl
getter to a functor fornull
when thegrids
argument is not present in the TileJSON chunk.
- Improve the style of zoom controls, matching that of MapBox
Hosting and adding
map-controls.png
- Fix bug where an interaction template does not get removed if the interaction object is set to use a new tilejson without a template.
- Adds Hash control for Leaflet by @thegreat
- Fix bug in Hash control that doubled URLs when the page started without a hash.
- Update mustache dependency to 0.5.0-dev to fix issue #213
- Update reqwest dependency to 0.4.5
- Add
wax.location()
- awax.tooltip()
API function that lets you use the__location__
formatter in interaction.
- Add Leaflet legend - currently the same API as Modest Maps.
- Loosen restrictions - allow HTML5 video and audio elements.
- Fix tooltip close button firing interaction events.
- Use
.content()
instead of.set()
for wax.g.attribution control
- The template HTML sanitizer now permits the use of
_target
in link elements - Fix for tooltips updating on hover
- Fixes off-by-one error that limited OpenLayers users to one less zoom level.
- Fixes
.remove()
in interaction controls - Resizable boxselector
- Improved tests
- Re-adds wax.mm.hash. MM.Hash is worse
- Re-adds fallback to teaser in touch code
- Add ESRI connector & interaction controls
- Add beta Bing connector
- Finished movetip.js
- Pushed to npm
- Event dispatcher for tooltips and other functionality
- Rewritten tooltip functionality
- Space optimizations to reduce overall size of library
- Mature implementation of movetip.js
- Now includes bean for events
- Moved all external deps to lib/*
- Initial support for Modest Maps 1.0.0-alpha
- Fixes a bug in touch interaction controls discovered and fixed by @lxbarth
- Calls callbacks with
evt
argument fromwax.ol.interaction
- Strict interaction: doesn't tolerate actions that are on elements that are not actually map tiles. This changes behavior significantly
- Adds latlngtooltip - a hover-based tooltip.
- Adds a Polymaps connector to the build.
- Adds a class,
wax-fullscreen-view
, when the fullscreen control is toggled.
- Sanitize legend, attribution output.
- Fix bug where template would return multiple formats.
- Fix for URL regex in HTML sanitizer integration.
- Adds
wax.ol.connector
, an OpenLayers connector
- Removes
wax.Record
, which has been deprecated in favor of templating, TileJSON, and possibly albums - Removes interaction autoconfiguration - you should use the
wax.tilejson()
instead to provide these details up-front. - Removes OpenLayers embedder and switcher controls. Embedder was deprecated by changes in embedding strategy and map-exchanging should be used instead of layer switching.
- Adds new formatter api: TileJSON with a
version=1.2
key andtemplate
data will now be templated with Mustache and sent throughhtml-sanitizer
- Simplified hash control -
hashchange
andpushState
APIs discontinued - Added
wax.g.hash()
control - Moved hash fundamentals to
control/lib/hash.js
and utilities toutils.js
- Simplified URL construction
- Added micro-optimizations to reduce code size
- Removed
wax.Record
- Fixes interaction control in Leaflet
- Fixed
wax.mm.interaction()
click callback
- Fixes
pointselector.remove()
- Adds
pointselector.locations()
- Fixes Google Maps connector - thanks @tokumine
- Fixes and adds silent option to
boxselector.extent()
- Fixes
wax.tooltip
var error in IE8
- Update reqwest to 0.2.7 for IE9 compatibility.
- Parse
matrix()
CSS transforms for IE9 compatibility. - Fix to
wax.mm.interaction()
on dragging outside of the map.
bwdetect
refactored to be compatible with Google Maps.- Tests for
bwdetect
,gridFeature
.
- Added
bwdetect
control for Modest Maps. - Add tests using
jasmine
library. - Bugfixes.
- Add support for bleeding-edge MM.
- Bugfixes.
- Fixes
xyzFinder
inwax.GridManager
to handle URLs with query strings.
- Expose
#full
and#original
methods onwax.mm.fullscreen
allowing API access to fullscreen toggling actions. - Fixes to boxselector and zoombox controls.
- TileJSON support in new map connectors:
wax.mm.connector
,wax.leaf.connector
andwax.g.connector
. The oldwax.g.maptype
andwax.mm.provider
have been removed. - All
g
,leaf
andmm
controls now use the signaturefunction (map, tilejson, options) {}
where relevant TileJSON keys intilejson
are used if present andoptions
contains settings specific to the control. - Fullscreen, zoomer, attribution and legend controls no longer automatically
append themselves to the map div. Use the
.appendTo
method to add the DOM element to the map or to another element on the page. w.melt(func)
now has the same return value asfunc
.
2.x.x
var provider = new wax.mm.provider({
baseUrl: 'http://a.tiles.mapbox.com/mapbox/',
layerName: 'natural-earth-2'});
var map = ...;
wax.mm.legend(map);
3.x.x
var connector = new wax.mm.connector({
tiles: 'http://a.tiles.mapbox.com/mapbox/1.0.0/natural-earth-2/{z}/{x}/{y}.png',
scheme: 'tms'
});
var map = ...;
wax.mm.legend(map, { legend: 'Content' }).appendTo(map.parent);
- Fix for window margin offset calculation.
- Fix zoombox control in IE.
- Fixed Hash in FF 4.x
- Fixed Interaction in FF 3.6.x
- Optimized Modest Maps scrolling behavior on interactive maps
- Fixed OpenLayers compatibility bug between 2.9 and 2.10
- Fixing a touch javascript error.
- Overeager touch-events handling fixed.
- Leaflet compatibility - interaction control and documentation.
- New pushState-based hash manager, used by default.
- Interaction support on mobile devices, with fallback to teaser if full formatter isnt available.
- Stripped down the README, now references the manual.
- Renamed
build
todist
to avoidnpm
cleanup problems. - Fix for interaction in Firefox with body margins.
- Added OpenLayers and Google to manual.
- Removed Google and Modest Maps embedder controls. Will return some day...
- All Modest Maps controls are flipped - instead of being extensions of the
com.modestmaps.Map
object, they are off of thewax
object and are called with the map as the first argument and an options object as the second - Modest Maps controls and provider moved from
wax.*
towax.mm.*
. - Google control API changed from
wax.g.Controls
object towax.g.*
mirroring Modest Maps controls API. - jQuery, jQuery-jsonp, and Underscore dependency removed
gridutil
now uses reqwest as its XMLHTTPRequest library.
- Beta pointselector control.
- Make zoombox removable.
- Tweaks to
boxselect
including removability.
- Added
.boxselect(function())
- Added
.zoombox()
andhash()
controls for Modest Maps.
- Bug fixes for OpenLayers
- Functions on the Google Maps
Controls
object are now lowercase. - Changed
WaxProvider
's signature: now takes an object of settings and supports multiple domains, filetypes and zoom restrictions. - Changed
wax.g.MapType
's signature: now accepts an object of settings in the same form asWaxProvider
- Modest Maps
.interaction()
now supports clicks, with the sameclickAction
setting as the OpenLayers version. - Added large manual for usage.
- Fixed Modest Maps
.fullscreen()
sizing. - Removed
/examples
directory: examples will be in manuals. - Performance optimization of interaction code: no calculations are performed during drag events.
- connector/mm: Added Modest Maps connector.
- control/mm: Added
.legend()
,.interaction()
,.fullscreen()
, and.zoomer()
controls for Modest Maps. - control/lib: Added
addedTooltip
event totooltip.js
to allow for external styling code.
- connector/g: Hide error tiles and wrap on dateline.
- connector/g: Performance improvements.
- control/legend: Fix rerender bug.
- control/tooltip:
addedtooltip
event for binding/extending tooltip behavior. Subject to change.
- Embedder functionality for Google Maps and OpenLayers.
- Bug fixes for Firefox 3.
make ext
added for downloading and installing external libraries needed to use examples.- Bug fixes for legend, IE compatibility.
- Initial release.