area

Polygon area calculation using Latitude and Longitude generated from Cartesian space and a world file

柔情痞子 提交于 2019-11-26 08:36:00
问题 Given a series of GPS coordinate pairs, I need to calculate the area of a polygon (n-gon). This is relatively small (not larger than 50,000 sqft). The geocodes are created by applying an affine transform with data from a world file. I have tried to use a two step approach by doing converting the geocodes to cartesian coordinates: double xPos = (lon-lonAnchor)*( Math.toRadians( 6378137 ) )*Math.cos( latAnchor ); double yPos = (lat-latAnchor)*( Math.toRadians( 6378137 ) ); then I use a cross

Apply css to AREA MAP

杀马特。学长 韩版系。学妹 提交于 2019-11-26 08:25:37
问题 I\'m created a very large map with many poly areas (over 20 coordinates each) for regions within the map. However, you can\'t add css to the AREA tag as I was told it\'s not a visible element. What I want to do is when the user hovers over an area on the map, I want it to be \"highlighted\" by applying a 1px border to the specific AREA element. Is there a way of doing this? No, I\'m not going to resort using rectangles. 回答1: If you want to be able to use arbitrary shapes and still use styles,