Skip to content

Commit

Permalink
fix issues with imagemap introduced with gd removal
Browse files Browse the repository at this point in the history
  • Loading branch information
tbonfort committed Apr 8, 2012
1 parent 1c4e225 commit 68c5ffa
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions mapdraw.c
Expand Up @@ -182,7 +182,6 @@ imageObj *msPrepareImage(mapObj *map, int allow_nonsquare)
{
image = msImageCreateIM(map->width, map->height, map->outputformat,
map->web.imagepath, map->web.imageurl, map->resolution, map->defresolution);
if( image != NULL ) msImageInitIM( image );
}
else if( MS_RENDERER_RAWDATA(map->outputformat) )
{
Expand Down Expand Up @@ -3129,8 +3128,6 @@ int msDrawLabelCache(imageObj *image, mapObj *map)
#endif

return MS_SUCCESS; /* necessary? */
} else if( MS_RENDERER_IMAGEMAP(image->format) ) {
nReturnVal = msDrawLabelCacheIM(image, map);
}
}

Expand Down
1 change: 1 addition & 0 deletions mapserver.h
Expand Up @@ -2269,6 +2269,7 @@ MS_DLL_EXPORT void msGDCleanup();
#endif
MS_DLL_EXPORT void msImageStartLayerIM(mapObj *map, layerObj *layer, imageObj *image);
MS_DLL_EXPORT int msSaveImageIM(imageObj* img, char *filename, outputFormatObj *format);
MS_DLL_EXPORT void msFreeImageIM(imageObj* img);
MS_DLL_EXPORT void msDrawMarkerSymbolIM(symbolSetObj *symbolset, imageObj* img, pointObj *p, styleObj *style, double scalefactor);
MS_DLL_EXPORT void msDrawLineSymbolIM(symbolSetObj *symbolset, imageObj* img, shapeObj *p, styleObj *style, double scalefactor);
MS_DLL_EXPORT void msDrawShadeSymbolIM(symbolSetObj *symbolset, imageObj* img, shapeObj *p, styleObj *style, double scalefactor);
Expand Down
1 change: 0 additions & 1 deletion maputil.c
Expand Up @@ -1636,7 +1636,6 @@ imageObj *msImageCreate(int width, int height, outputFormatObj *format,
{
image = msImageCreateIM(width, height, format,
imagepath, imageurl, resolution, defresolution);
if( image != NULL ) msImageInitIM( image );
}
else
{
Expand Down

0 comments on commit 68c5ffa

Please sign in to comment.