473,804 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SVG: Put color on country

125 New Member
Hi

I'm using the map from:

http://commons.wikimedia.org/wiki/Im...6,_compact.svg

And use the codes from:

http://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

to color countrys with CSS in the SVG file.

It's a wery good map, and I have colored most contrys without problems.

I have a excell sheet with countrys, codes, and colors and put the information together to create the svg- file with a macro/VBA code.

I have problem to get color on LA:

LA - Lao People's Democratic Republic ("LAOS")
http://en.wikipedia.org/wiki/Laos

And therfore i think maybe the map is wrong, but i don't know the caus to it not working.

If anyone have a SVG Image edito you can probably put color on the country with the editor and say the code to me, you can se the code if you open the SVG file as a txt file and lock for the CSS code in it.
Oct 24 '08 #1
0 1017

Sign in to post your reply or Sign up for a free account.

Similar topics

7
3821
by: Karthik | last post by:
Hi, I am just curious if there is any existing API in PHP for rendering SVG (Scalable Vector Graphics). A quick search in Google pointed to me a place in zend.com - http://www.zend.com/zend/trick/tricks12apr.php . where I feel the support for SVG is not very clear to be exact. Just curious if there is a library that comes with PHP that can help us to create PHP without exactly boggling down in the SVG syntax ( XML ) as given in the...
0
2094
by: Brian K | last post by:
I am new to Apache Batik and I am now doing a SVG Editor for my project. I use Java as programming language. I use Batik to generate the SVG from Java Graphics2D, as I would like to transform the SVG to other graphics formats (e.g. JPG, PNG, TIFF), an error occured, the error is that the graphics don't specify the size of graphics, so that even I can transform to JPG (for example), but the JPG file cannot display any graphics. Then I...
6
6202
by: VladimirVV | last post by:
Hello, Please, help to understand the problem: Let's create in Notepad simplest SVG 1.1 document: <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <svg version = "1.1" width="300" height="250"> <title>Example SVG code</title> <path d="M 10,10 l0,100 100,0 0,-100z"/>
1
3457
by: Richard | last post by:
I have a SVG document with links out to html pages which works when you run the SVG file i have tried to intergrate it into a coldfusion page and the links no longer work. The SVG file is : <?xml version="1.0"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg width="250" height="250">
27
3919
by: Mark | last post by:
I'm curious to get feedback regarding the potential SVG has in performing the same functionality as PDF for fixing documents. Thanks. Mark
1
1217
by: Dung Ping | last post by:
Hi, First, I like to know if there is a newsgroup for svg in general. I've only seen one on the Netescape Mozilla.svg, but I have been using the IE browser. This forum may not be the most appropriate one for discussions on svg. Then, in the following svg code, I like to add background color and border. I know that this piece <. . . width="200" height="200" . . .> defines the area of background. What and where do I add code for
7
9354
by: VK | last post by:
Is it possible to include SVG object right onto HTML page in Firefox 1.5? (I mean native SVG, not SVG plugin) .... <svg> .... </svg> All samples on mozilla.org are either stay-alone .svg files or XML files. When trying to insert them in HTML page it just doesn't display.
4
2903
by: Raoul.Kamadjeu | last post by:
I'm trying to open a new window from an SVG document (a map). A new window will popup when the user clicks on an SVG polygon. The SVG document is generated by a php function The JavaScript function resides on an external file function open_me(url) { window.open('url'); } I use this piece of code to open the new window
61
4760
by: phil-news-nospam | last post by:
Why does SVG need a different tag than other images? IMHO, SVG should be implemented as an image type just like any other image type, allowing it to work with <img> tags, and ... here is the important part ... also work with backgrounds in other tags. I fail to see any wisdom in making SVG different than say PNG (of course the implementation of the rendering code would obvious be different). --
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10343
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10341
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10089
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9171
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7634
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6862
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.