OpenLayers.DOTS_PER_INCH (DPI) can be set to a value the developer chooses. Its default is 72 (from what I have researched) my question is, is there a maximum DPI that OpenLayers can be set to?

  • OpenLayers 3 has no DOTS_PER_INCH constant. Did you mean to tag this question with openlayers-2 instead? – ahocevar Oct 6 '16 at 7:56

No, you could technically set it to max safe value of an integer in JS (9007199254740991).

All this number does is multiply against the resolution to determine map scale.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.