Hello -- I apologize in advance for the rookie question, but I'm trying to create a page with toggle buttons for multiple heatmap layers. I'd like to be able to turn off/on different heatmap layers. I've included my code below, I'm getting the first heatmap layer to render, but I can't seem to get the second layer to render via the toggle button.

I think the problem might be the way I'm defining var's TestData and TestData2. I'm not sure if there is a better way to define multiple "data" variables"

[Listing removed for readability]

asked 26 Mar '13, 02:14

davidson12's gravatar image

accept rate: 0%

edited 26 Mar '13, 10:35

Jonathan%20Bennett's gravatar image

Jonathan Ben...

The question has been closed for the following reason "Question is off-topic or not relevant" by Richard 26 Mar '13, 10:16

This is an OpenLayers question and not OpenStreetMap-related.

permanent link

answered 26 Mar '13, 10:16

Richard's gravatar image

Richard ♦
accept rate: 19%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 26 Mar '13, 02:14

question was seen: 3,265 times

last updated: 26 Mar '13, 10:35

powered by OSQA