symbol.js 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /**
  2. * 定义图标区域
  3. */
  4. var symbol_flick = {
  5. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  6. url: ctx + "static/images/gis/dyCenter.gif",
  7. width: "64px",
  8. height: "64px"
  9. }
  10. var symbol_zb = {
  11. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  12. url: ctx + "static/images/gis/ls_swjc.png?r=2",
  13. width: "14px",
  14. height: "14px"
  15. };
  16. var symbol_river = {
  17. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  18. url: ctx + "static/images/gis/sjhl.png",
  19. width: "16px",
  20. height: "16px"
  21. };
  22. var symbol_basin = {
  23. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  24. url: ctx + "static/images/gis/sjhp.png",
  25. width: "16px",
  26. height: "16px"
  27. };
  28. var symbol_rh = {
  29. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  30. url: ctx + "static/images/gis/rhhd.png",
  31. width: "16px",
  32. height: "16px"
  33. };
  34. var symbol_sz_syd = {
  35. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  36. url: ctx + "static/images/gis/syd.png",
  37. width: "16px",
  38. height: "16px"
  39. };
  40. var symbol_sshy = {
  41. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  42. url: ctx + "static/images/syq/sshy.png",
  43. width: "16px",
  44. height: "16px"
  45. };
  46. var symbol_sz_auto = {
  47. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  48. url: ctx + "static/images/gis/szzdz.png",
  49. width: "16px",
  50. height: "16px"
  51. };
  52. var symbol_sz_lz = {
  53. type: "picture-marker", // autocasts as new PictureMarkerSymbol()
  54. url: ctx + "static/images/gis/syd.png",
  55. width: "16px",
  56. height: "16px"
  57. };
  58. var symbol_basinxx = {
  59. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  60. style: "circle",
  61. color: "red",
  62. size: "10px", // pixels
  63. outline: { // autocasts as new SimpleLineSymbol()
  64. color: [255, 255, 0],
  65. width: 0 // points
  66. }
  67. };
  68. var symbol_wiu1h2h = {
  69. type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
  70. style: "diamond",
  71. color: "blue",
  72. size: "12px", // pixels
  73. outline: { // autocasts as new SimpleLineSymbol()
  74. color: [255, 255, 0],
  75. width: 0 // points
  76. }
  77. };
  78. var symbol_s_blue_u = {
  79. type: "picture-marker",
  80. url: ctx + "static/images/syq/s_blue_u.gif",
  81. width: "20px",
  82. height: "20px"
  83. };
  84. var symbol_z_blur_u = {
  85. type: "picture-marker",
  86. url: ctx + "static/images/syq/z_blur_u.gif",
  87. width: "20px",
  88. height: "20px"
  89. };
  90. var symbol_pin = {
  91. type: "picture-marker",
  92. url: ctx + "static/images/syq/dyCenter.gif",
  93. width: "30px",
  94. height: "30px"
  95. };