Trying to Integrate 3.0 ClusterLayer

Discussion created by mhoover12 on Jun 29, 2012
Latest reply on Sep 7, 2012 by zliu_esri17

I'm trying to integrate the new ClusterLayer sample introduced at 3.0 ( into my application but I'm having some problems with the dojo.require statement.

So, I've included the dojo.require("extras.Clusterlayer"); statement in my Default.aspx page.  But when I try to load my application with that statement included, it fails to load...I just end up with a blank page.  Then I saw this code in the sample:

var dojoConfig = {
parseOnLoad: true,
packages: [{
"name": "extras",
"location": location.pathname.replace(/\/[^/]+$/, '') + "/extras"

So I included it in mine and still nothing.  I realized the "location" property's pathname was probably incorrect, but I've tried everything I can think of, including setting "location" to "" which I assume is what it must be in the sample but no dice.

Can anyone instruct me on what I'm doing wrong here?  Thanks!