MCPcopy Index your code
hub / github.com/MapServer/MapServer / mapObj_prepareQuery

Function mapObj_prepareQuery

mapscript/php/mapscript_i.c:111–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111void mapObj_prepareQuery(mapObj* self) {
112 int status;
113
114 status = msCalculateScale(self->extent, self->units, self->width, self->height, self->resolution, &self->scaledenom);
115 if(status != MS_SUCCESS) self->scaledenom = -1; // degenerate extents ok here
116 }
117
118imageObj *mapObj_prepareImage(mapObj* self) {
119 return msPrepareImage(self, MS_FALSE);

Callers 1

map.cFile · 0.85

Calls 1

msCalculateScaleFunction · 0.85

Tested by

no test coverage detected