Hot answers tagged

3

I've used Richie Carmichael's code from his blog post. In a later post he said he fixed some memory leaks and uploaded to arcscripts, however that link is broken. I'll look for the code - I think I downloaded it years ago. Anyway, here is the code from his first post. Take a look at the azimuth outputs. The code uses the "projection engine" dll. I've ...


2

There's a few problems here. First IMxDocument.FocusMap is read only, you can't change the extent from here, use IMxDocument.ActiveView instead. Instead of projecting your point (point.Project(spatRef);) you need to set it by using IPoint.SpatialReference (inheritied from IGeometry class): point.SpatialReference = spatRef; I have found it better to pan an ...


2

Below is some VBA code that shows you how to open the Item Description window from the first layer in the TOC. Public Sub OpenItemDescription() ' Get Application Dim pApp As IApplication Set pApp = Application ' Get Map document Dim pMXD As IMxDocument Set pMXD = ThisDocument ' Get Map Dim pmap As IMap Set pmap = pMXD....


1

I have tested the basemap you have shared within the CartoDB Editor and it works at zoom level 19, but as you pointed out it does not work at zoom 20 (there are not tiles).


1

One problem I see (which could just be how the code was copied into the question) is the const pPath quoted string is not properly formed (needs quotes front and back.) Likely that was just a typo, and not the real source of the problem... However, the loadComboBoxOn() appears to build an image array out of a list of layer names...but I don't see where ...



Only top voted, non community-wiki answers of a minimum length are eligible