//本机的浏览器地址为 http://mytest2.com
server {
listen 5800;
server_name localhost;
root /Applications/htdocs;
location / {
proxy_pass http://www.bigemap.com:9000;
proxy_set_header Host mytest2.com;
proxy_set_header X-Real-IP $remote_addr;
}
}
server {
listen 9001;
server_name mytest2.com;
root /Applications/htdocs;
location / {
proxy_pass http://www.bigemap.com:9001;
proxy_set_header Host localhost;
proxy_set_header X-Real-IP $remote_addr;
}
}
location ^~/map/ {
proxy_pass http://www.bigemap.com:9000/;
proxy_set_header Host fast.zhangwe.com;
proxy_set_header X-Forwarded-Proto https;
}
(1)几何形状(Geometry):定义了Primitive的结构,例如三角形、线条、点等
(2)外观(Appearance ):定义Primitive的着色(Sharding),包括GLSL(OpenGL着色语言,OpenGL Shading Language)顶点着色器和片段着色器( vertex and fragment shaders),以及渲染状态(render state)
Cesium支持以下几何图形: