summaryrefslogtreecommitdiff
path: root/platform/node/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Make Map.addImage tests pass (#8843)Asheem Mamoowala2017-05-021-2/+4
| | | | | Fix Node tests suite implementation to parse pixelRatio from style json Premultiply images in the node binding before sending to mbgl core
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-2/+2
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [node] Add map.cancel()Thiago Marcos P. Santos2017-04-202-0/+39
| | | | Cancels an ongoing rendering.
* [node] Calculate image buffer and length once (#8673)Bobby Sudekum2017-04-071-3/+6
|
* [node] fix node bindings :bug:Molly Lloyd2017-03-281-1/+1
|
* [node] Fix mistaken .cpp includeJohn Firebaugh2017-03-281-1/+1
|
* [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-231-0/+2
|
* [all] Replace Result<T> with optional<T> plus out Error parameterJohn Firebaugh2017-03-232-15/+20
|
* [node] Update changes in MapObserver::onDidFailLoadingMapBruno de Oliveira Abinader2017-03-172-3/+5
|
* [node] Support mbgl::MapObserverBruno de Oliveira Abinader2017-03-152-8/+14
|
* [node] Fix memory test hanging after GlyphAtlas refactoring (#8394)Thiago Marcos P. Santos2017-03-142-0/+16
| | | Replies are assumed to be asynchronous after e3500c1f791be82.
* [node, glfw] Remove libuv 0.10 supportJohn Firebaugh2017-03-102-14/+2
|
* [core] rename query options for query rendered featuresIvo van Dongen2017-03-091-1/+1
|
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-041-2/+39
|
* [core] private OffscreenView implementationKonstantin Käfer2017-02-271-1/+1
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-271-19/+19
|
* Add addImage, removeImage API (#7610)Bobby Sudekum2017-01-092-0/+81
|
* [node] Fix array/object distinctionJohn Firebaugh2017-01-041-1/+1
| | | | Only affects tests.
* [node] Fix order of operations when setting zoom and centerJohn Firebaugh2016-12-141-4/+4
| | | | | | Zoom must be set first, to avoid center potentially getting constrained. Fixes #7351
* [build] move logging to utilKonstantin Käfer2016-11-223-3/+3
|
* [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-222-3/+3
|
* [node] Add setZoom and setPitch supportJohn Firebaugh2016-11-172-0/+38
|
* [node] Revert semantics of Map#renderJohn Firebaugh2016-11-171-29/+27
|
* [node] Don't needlessly reset map stateJohn Firebaugh2016-11-091-19/+41
|
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-7/+6
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-252-15/+31
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-252-3/+6
|
* [core] extract weak_ptr mailbox->receive into Mailbox::maybeReceiveMike Morris2016-10-201-3/+1
|
* [node] remove internal NodeRequest class from public APIMike Morris2016-10-204-7/+4
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-207-8/+86
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [node] Added set{Bearing,Center} + updated -test-suiteBruno de Oliveira Abinader2016-10-112-0/+44
| | | | | This gives the ability to pan and/or rotate the map in a posterior step after initial render for testing purposes.
* [node] switch to NodeRequest member fn callbackThiago Marcos P. Santos2016-09-063-11/+9
| | | | | | | | | For (hopefully) better performance than creating a new v8::Context to wrap each callback while still avoiding leaking memory with v8::FunctionTemplate. Adds a JavaScript shim in front of module.exports.Map to wrap the req.respond API internally and preserve the public callback-passing API, while still exporting the correct prototype.
* [core] Trigger Source::Impl::reload when a filter or layout property is modifiedJohn Firebaugh2016-09-061-22/+22
|
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-061-2/+0
| | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
* [node] Throw on invalid style JSONThiago Marcos P. Santos2016-08-251-0/+6
| | | | Fixes #6143
* [core] Updated clang-tidy fixesBruno de Oliveira Abinader2016-08-054-6/+6
|
* [node] Fix integer conversion of filter valuesCarol Hansen2016-07-221-2/+2
|
* [node] NodeRequest inherits from Nan::AsyncWorkerMike Morris2016-07-147-156/+153
| | | | | | | | drop NodeRequest::Create, move MakeCallback to NodeRequest::Execute rework Respond -> HandleCallback modern NAN style updates
* [node] enter new v8::Context to avoid leaking v8::FunctionTemplate in ↵Mike Morris2016-07-141-1/+6
| | | | NodeMap::request
* [node] Added 'removeLayer' bindingBruno de Oliveira Abinader2016-07-132-0/+20
|
* [core] Report conversion errors using std::stringThiago Marcos P. Santos2016-07-121-5/+5
| | | | | char* increases the risk of pointing to a invalid reference. Qt had to use a static variable as retainer to workaround.
* [node] Also Update::Classes when setting a paint propertyThiago Marcos P. Santos2016-07-081-1/+1
| | | | | Otherwise it has no effect. Tests might be working because a Update::Classes is also scheduled when adding a new layer.
* [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-062-4/+5
| | | | | | | | | | | | | | | | | | | | | | * [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well
* [ios, macos, node] “Mapbox GL Style Specification” → “Mapbox Style ↵Minh Nguyễn2016-07-041-1/+1
| | | | Specification” (#5553)
* [core, node] Implement bindings for addSourceJohn Firebaugh2016-06-243-0/+42
|
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-246-301/+117
|
* [core, node] Node bindings for setFilterJohn Firebaugh2016-06-215-0/+97
|
* [node] Support setLayoutProperty(..., "visibility", ...)John Firebaugh2016-06-213-0/+22
|
* [core] Use mbgl::style::conversion in node bindingsJohn Firebaugh2016-06-216-124/+114
|
* [node] Read 'options.showOverdrawInspector'Bruno de Oliveira Abinader2016-06-201-0/+5
|