transparent tiles in google maps
tgmueller
Global Mapper User
Hi folks,
today I purchased Global Mapper and I have to say that this program is awesome. I was able to create a tiled png for a hillshade map: Hillshade (Google Maps Export from Global Mapper)
The original png was transparent in two ways. First the hillshade map was about 50% opaque. Second, the area outside the hillshade area was completely transparent. As you can see only the outside was transparent.
I tried to make area styles transparent but it didn't change anything. Please let me know if anyone knows a good way to do that.
Best Regards,
Tom
today I purchased Global Mapper and I have to say that this program is awesome. I was able to create a tiled png for a hillshade map: Hillshade (Google Maps Export from Global Mapper)
The original png was transparent in two ways. First the hillshade map was about 50% opaque. Second, the area outside the hillshade area was completely transparent. As you can see only the outside was transparent.
I tried to make area styles transparent but it didn't change anything. Please let me know if anyone knows a good way to do that.
Best Regards,
Tom
Comments
-
Tom,
On export from Global Mapper the image results will apply any translucency to create a new image that is either 100% transparent (the outside) or 100% opaque. To make the generated PNG files transparent in Google Maps, edit the generated HTML file and change the line that looks like:
tilelayers[1].getOpacity = function () {return 1.0;}
to something like:
tilelayers[1].getOpacity = function () {return 0.5;}
for 50% translucency, or whatever value that you need.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
Hey Mike:
Thank you so much. It works great Hillshade (Google Maps Export from Global Mapper)
I love this program. Wow.
Best Regards,
Tom -
Now if we could just get a transparency slider in Google Maps so the user could adjust transparency on the fly.
Matt
Categories
- 12.7K All Categories
- 5.6K Features Discussion
- 342 Downloading Imagery
- 1.3K Elevation Data
- 380 Georeferencing Imagery Discussion
- 628 GM Script Language
- 53 User Scripts
- 113 GPS Features
- 414 Projection Questions
- 819 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 177 Announcement and News
- 908 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 562 Other Discussion
- 129 GIS Data Sources
- 27 Global Mapper Showcase
- 233 How I use Global Mapper
- 107 Global Mapper Forum Website