Infrastructure Map Server Forum
Welcome to Autodesk’s Infrastructure Map Server Forums. Share your knowledge, ask questions, and explore popular Infrastructure Map Server topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clearing buffer

3 REPLIES 3
Reply
Message 1 of 4
nickins
253 Views, 3 Replies

Clearing buffer

I know I must be missing something very basic, but how do I delete a buffer once it has been created.

Thank you.
3 REPLIES 3
Message 2 of 4
Anonymous
in reply to: nickins

If you're talking about doing it from the out of the box viewer, you can only toggle the layer on and off in the legend once it's been created for the first time. If you're programming, you can remove the layer via the API to give the appearance of removing the buffer. Note that this will remove all buffer objects on the given layer. Try something like the following JavaScript function triggered by a button: function clearBuffer() { var map = getMyMap(); map.setAutoRefresh (false); map.removeMapLayer("Buffer"); map.setAutoRefresh (true); map.refresh(); } -- Andy Morsell, P.E. Spatial Integrators, Inc. http://www.spatialgis.com MyMap.removeMapLayer("Buffer"); "nickins" wrote in message news:18342164.1073677933604.JavaMail.jive@jiveforum2.autodesk.com... > I know I must be missing something very basic, but how do I delete a buffer once it has been created. > > Thank you.
Message 3 of 4
nickins
in reply to: nickins

I have created the buffer in the Author and would now like to delete them, so they don't all show up on the viewer when someone toggles on the layer. How do I delete it from the author?

Thank you for your help.

Joan
Message 4 of 4
Anonymous
in reply to: nickins

Hi Joan.

How about selecting the buffer, right clicking, and select remove?

Hope this helps...
Warren M

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report