-
Notifications
You must be signed in to change notification settings - Fork 230
Conversation
Conflicts: lib/source.js package.json
will this address #1156? |
@springmeyer Yes. Studio no longer directly calls any mapnik-omnivore functions, so this error shouldn't happen anymore. Also, added some error handling for the mapnik call. |
Good point. Will pass in the caught error. On Mon, Feb 23, 2015 at 2:57 PM, Dane Springmeyer [email protected]
|
@samanpwbb @springmeyer This is ready to merge. What is the process for deploy/release? cc @rclark |
My 2 cents concerning f241d39 If I decide to catch an error and re-throw (happens rarely, most of the time to do some extra error logging), then I like to include the original error plus some additional information to provide more context and make debugging/error hunting easier, e.g.:
I'm not familiar with the style rules of this code base and haven't checked if there is a general |
Because this a fairly big upgrade I think it would be worth testing the published packages next. That looks like:
Details on getting the package urls at https://github.com/mapbox/mapbox-studio/blob/mb-pages/CONTRIBUTING.md#packaging.
@BergWerkGIS yes, exactly - that is what I meant - that at least keeping the original error is desirable, or adding to it like you've demonstrated. |
So sorry @BergWerkGIS , I missed your response. Thanks for the example, I will commit a fix with the original error concatenated. Awesome plan, thanks @springmeyer ! |
var center = metadata.center; | ||
var zoom = Math.max(metadata.minzoom, view.model.get('minzoom')); | ||
map.setView([center[1], center[0]], zoom); | ||
map.fitBounds([ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to account for #1270 - fitBounds should disable animation as well.
Note to self:
|
I'm stealing this as I realize I need this to be able to finish #1287. So, working on bringing this patch up to date now. |
…to stylesAndSources * 'mb-pages' of https://github.com/mapbox/mapbox-studio: [publish 4abb776] Start changelog - refs #1301 cleanup and update deps sync templates for topojson/geojson with ogr build out test documentation further fix test fixtures debug why publishing is not being triggered [publish node-mapnik-3.2.0] [publish node-mapnik-3.2.0] test against upcoming node-mapnik 3.2.1 use [email protected] update and integrate mapnik-om upgrade from #1199 upgrade mapnik related deps upgrade to [email protected]
…tudio into stylesAndSources * 'stylesAndSources' of https://github.com/mapbox/mapbox-studio: [publish 4abb776] Changes the Projects button (and occurences of 'Project(s)') to 'Styles & Sources' this change is because 'Projects' is a name we've given to things made with the web editor which have no connection to studio Start changelog - refs #1301 cleanup and update deps sync templates for topojson/geojson with ogr build out test documentation further fix test fixtures debug why publishing is not being triggered [publish node-mapnik-3.2.0] [publish node-mapnik-3.2.0] test against upcoming node-mapnik 3.2.1 use [email protected] update and integrate mapnik-om upgrade from #1199 upgrade mapnik related deps upgrade to [email protected]
Prep Studio for integrating the new mapnik-omnivore refactor