📄 mapobj.java
字号:
public void setDatapattern(String datapattern) { mapscriptJNI.set_mapObj_datapattern(swigCPtr, datapattern); } public String getDatapattern() { return mapscriptJNI.get_mapObj_datapattern(swigCPtr); } public void setTemplatepattern(String templatepattern) { mapscriptJNI.set_mapObj_templatepattern(swigCPtr, templatepattern); } public String getTemplatepattern() { return mapscriptJNI.get_mapObj_templatepattern(swigCPtr); } public void setConfigoptions(hashTableObj configoptions) { mapscriptJNI.set_mapObj_configoptions(swigCPtr, hashTableObj.getCPtr(configoptions)); } public hashTableObj getConfigoptions() { long cPtr = mapscriptJNI.get_mapObj_configoptions(swigCPtr); return (cPtr == 0) ? null : new hashTableObj(cPtr, false); } public mapObj(String filename) { this(mapscriptJNI.new_mapObj(filename), true); } public mapObj cloneMap() { long cPtr = mapscriptJNI.mapObj_cloneMap(swigCPtr); return (cPtr == 0) ? null : new mapObj(cPtr, true); } public int insertLayer(layerObj layer, int index) { return mapscriptJNI.mapObj_insertLayer(swigCPtr, layerObj.getCPtr(layer), index); } public layerObj removeLayer(int index) { long cPtr = mapscriptJNI.mapObj_removeLayer(swigCPtr, index); return (cPtr == 0) ? null : new layerObj(cPtr, true); } public int setExtent(double minx, double miny, double maxx, double maxy) { return mapscriptJNI.mapObj_setExtent(swigCPtr, minx, miny, maxx, maxy); } public int setSize(int width, int height) { return mapscriptJNI.mapObj_setSize(swigCPtr, width, height); } public int setRotation(double rotation_angle) { return mapscriptJNI.mapObj_setRotation(swigCPtr, rotation_angle); } public layerObj getLayer(int i) { long cPtr = mapscriptJNI.mapObj_getLayer(swigCPtr, i); return (cPtr == 0) ? null : new layerObj(cPtr, false); } public layerObj getLayerByName(String name) { long cPtr = mapscriptJNI.mapObj_getLayerByName(swigCPtr, name); return (cPtr == 0) ? null : new layerObj(cPtr, false); } public int getSymbolByName(String name) { return mapscriptJNI.mapObj_getSymbolByName(swigCPtr, name); } public void prepareQuery() { mapscriptJNI.mapObj_prepareQuery(swigCPtr); } public imageObj prepareImage() { long cPtr = mapscriptJNI.mapObj_prepareImage(swigCPtr); return (cPtr == 0) ? null : new imageObj(cPtr, true); } public void setImageType(String imagetype) { mapscriptJNI.mapObj_setImageType(swigCPtr, imagetype); } public void selectOutputFormat(String imagetype) { mapscriptJNI.mapObj_selectOutputFormat(swigCPtr, imagetype); } public void setOutputFormat(outputFormatObj format) { mapscriptJNI.mapObj_setOutputFormat(swigCPtr, outputFormatObj.getCPtr(format)); } public imageObj draw() { long cPtr = mapscriptJNI.mapObj_draw(swigCPtr); return (cPtr == 0) ? null : new imageObj(cPtr, true); } public imageObj drawQuery() { long cPtr = mapscriptJNI.mapObj_drawQuery(swigCPtr); return (cPtr == 0) ? null : new imageObj(cPtr, true); } public imageObj drawLegend() { long cPtr = mapscriptJNI.mapObj_drawLegend(swigCPtr); return (cPtr == 0) ? null : new imageObj(cPtr, true); } public imageObj drawScalebar() { long cPtr = mapscriptJNI.mapObj_drawScalebar(swigCPtr); return (cPtr == 0) ? null : new imageObj(cPtr, true); } public imageObj drawReferenceMap() { long cPtr = mapscriptJNI.mapObj_drawReferenceMap(swigCPtr); return (cPtr == 0) ? null : new imageObj(cPtr, true); } public int embedScalebar(imageObj image) { return mapscriptJNI.mapObj_embedScalebar(swigCPtr, imageObj.getCPtr(image)); } public int embedLegend(imageObj image) { return mapscriptJNI.mapObj_embedLegend(swigCPtr, imageObj.getCPtr(image)); } public int drawLabelCache(imageObj image) { return mapscriptJNI.mapObj_drawLabelCache(swigCPtr, imageObj.getCPtr(image)); } public labelCacheMemberObj nextLabel() { long cPtr = mapscriptJNI.mapObj_nextLabel(swigCPtr); return (cPtr == 0) ? null : new labelCacheMemberObj(cPtr, false); } public int queryByPoint(pointObj point, int mode, double buffer) { return mapscriptJNI.mapObj_queryByPoint(swigCPtr, pointObj.getCPtr(point), mode, buffer); } public int queryByRect(rectObj rect) { return mapscriptJNI.mapObj_queryByRect(swigCPtr, rectObj.getCPtr(rect)); } public int queryByFeatures(int slayer) { return mapscriptJNI.mapObj_queryByFeatures(swigCPtr, slayer); } public int queryByShape(shapeObj shape) { return mapscriptJNI.mapObj_queryByShape(swigCPtr, shapeObj.getCPtr(shape)); } public int setWKTProjection(String wkt) { return mapscriptJNI.mapObj_setWKTProjection(swigCPtr, wkt); } public String getProjection() { return mapscriptJNI.mapObj_getProjection(swigCPtr); } public int setProjection(String proj4) { return mapscriptJNI.mapObj_setProjection(swigCPtr, proj4); } public int save(String filename) { return mapscriptJNI.mapObj_save(swigCPtr, filename); } public int saveQuery(String filename) { return mapscriptJNI.mapObj_saveQuery(swigCPtr, filename); } public int loadQuery(String filename) { return mapscriptJNI.mapObj_loadQuery(swigCPtr, filename); } public void freeQuery(int qlayer) { mapscriptJNI.mapObj_freeQuery(swigCPtr, qlayer); } public int saveQueryAsGML(String filename, String ns) { return mapscriptJNI.mapObj_saveQueryAsGML(swigCPtr, filename, ns); } public String getMetaData(String name) { return mapscriptJNI.mapObj_getMetaData(swigCPtr, name); } public int setMetaData(String name, String value) { return mapscriptJNI.mapObj_setMetaData(swigCPtr, name, value); } public int removeMetaData(String name) { return mapscriptJNI.mapObj_removeMetaData(swigCPtr, name); } public String getFirstMetaDataKey() { return mapscriptJNI.mapObj_getFirstMetaDataKey(swigCPtr); } public String getNextMetaDataKey(String lastkey) { return mapscriptJNI.mapObj_getNextMetaDataKey(swigCPtr, lastkey); } public int setSymbolSet(String szFileName) { return mapscriptJNI.mapObj_setSymbolSet(swigCPtr, szFileName); } public int getNumSymbols() { return mapscriptJNI.mapObj_getNumSymbols(swigCPtr); } public int setFontSet(String filename) { return mapscriptJNI.mapObj_setFontSet(swigCPtr, filename); } public int saveMapContext(String szFileName) { return mapscriptJNI.mapObj_saveMapContext(swigCPtr, szFileName); } public int loadMapContext(String szFileName, int useUniqueNames) { return mapscriptJNI.mapObj_loadMapContext(swigCPtr, szFileName, useUniqueNames); } public int moveLayerUp(int layerindex) { return mapscriptJNI.mapObj_moveLayerUp(swigCPtr, layerindex); } public int moveLayerDown(int layerindex) { return mapscriptJNI.mapObj_moveLayerDown(swigCPtr, layerindex); } public intarray getLayersDrawingOrder() { long cPtr = mapscriptJNI.mapObj_getLayersDrawingOrder(swigCPtr); return (cPtr == 0) ? null : new intarray(cPtr, true); } public int setLayersDrawingOrder(SWIGTYPE_p_int panIndexes) { return mapscriptJNI.mapObj_setLayersDrawingOrder(swigCPtr, SWIGTYPE_p_int.getCPtr(panIndexes)); } public void setConfigOption(String key, String value) { mapscriptJNI.mapObj_setConfigOption(swigCPtr, key, value); } public String getConfigOption(String key) { return mapscriptJNI.mapObj_getConfigOption(swigCPtr, key); } public void applyConfigOptions() { mapscriptJNI.mapObj_applyConfigOptions(swigCPtr); } public int applySLD(String sld) { return mapscriptJNI.mapObj_applySLD(swigCPtr, sld); } public int applySLDURL(String sld) { return mapscriptJNI.mapObj_applySLDURL(swigCPtr, sld); } public String generateSLD() { return mapscriptJNI.mapObj_generateSLD(swigCPtr); } public String processTemplate(int bGenerateImages, SWIGTYPE_p_p_char names, SWIGTYPE_p_p_char values, int numentries) { return mapscriptJNI.mapObj_processTemplate(swigCPtr, bGenerateImages, SWIGTYPE_p_p_char.getCPtr(names), SWIGTYPE_p_p_char.getCPtr(values), numentries); } public String processLegendTemplate(SWIGTYPE_p_p_char names, SWIGTYPE_p_p_char values, int numentries) { return mapscriptJNI.mapObj_processLegendTemplate(swigCPtr, SWIGTYPE_p_p_char.getCPtr(names), SWIGTYPE_p_p_char.getCPtr(values), numentries); } public String processQueryTemplate(SWIGTYPE_p_p_char names, SWIGTYPE_p_p_char values, int numentries) { return mapscriptJNI.mapObj_processQueryTemplate(swigCPtr, SWIGTYPE_p_p_char.getCPtr(names), SWIGTYPE_p_p_char.getCPtr(values), numentries); } public outputFormatObj getOutputFormatByName(String name) { long cPtr = mapscriptJNI.mapObj_getOutputFormatByName(swigCPtr, name); return (cPtr == 0) ? null : new outputFormatObj(cPtr, false); } public int appendOutputFormat(outputFormatObj format) { return mapscriptJNI.mapObj_appendOutputFormat(swigCPtr, outputFormatObj.getCPtr(format)); } public int removeOutputFormat(String name) { return mapscriptJNI.mapObj_removeOutputFormat(swigCPtr, name); } public int loadOWSParameters(OWSRequest request, String wmtver_string) { return mapscriptJNI.mapObj_loadOWSParameters(swigCPtr, OWSRequest.getCPtr(request), wmtver_string); } public int zoomPoint(int zoomfactor, pointObj poPixPos, int width, int height, rectObj poGeorefExt, rectObj poMaxGeorefExt) { return mapscriptJNI.mapObj_zoomPoint(swigCPtr, zoomfactor, pointObj.getCPtr(poPixPos), width, height, rectObj.getCPtr(poGeorefExt), rectObj.getCPtr(poMaxGeorefExt)); } public int zoomRectangle(rectObj poPixRect, int width, int height, rectObj poGeorefExt, rectObj poMaxGeorefExt) { return mapscriptJNI.mapObj_zoomRectangle(swigCPtr, rectObj.getCPtr(poPixRect), width, height, rectObj.getCPtr(poGeorefExt), rectObj.getCPtr(poMaxGeorefExt)); } public int zoomScale(double scale, pointObj poPixPos, int width, int height, rectObj poGeorefExt, rectObj poMaxGeorefExt) { return mapscriptJNI.mapObj_zoomScale(swigCPtr, scale, pointObj.getCPtr(poPixPos), width, height, rectObj.getCPtr(poGeorefExt), rectObj.getCPtr(poMaxGeorefExt)); }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -