This is a technical method that you should not have to use.
Will try to set the map's pixel ratio to the passed value. Note that the pixel ratio may not be applied exactly because of the map's drawing canvas size limitations.
The method will return:
false if the passed pixel ratio is the same as the current map's pixel ratio
false if the applied pixel ratio is not successful (i.e. if the map's canvas size has not changed with the new pixel ratio)
true if the pixel ratio application is successful or partially successful (i.e. if the map's canvas size has changed)
JMap.Map.setPixelRatio
This is a technical method that you should not have to use.
Will try to set the map's pixel ratio to the passed value. Note that the pixel ratio may not be applied exactly because of the map's drawing canvas size limitations.
The method will return: